summaryrefslogtreecommitdiff
path: root/src/modules/database/database.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-12-29 20:27:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-12-29 20:27:41 +0000
commit93b3fbbd45e45ec24c9d06ee529840cc3c2d4f29 (patch)
tree1b3d78cbe7c3c3bb71c174ce06d0082d191f16dd /src/modules/database/database.cpp
parent7e0c7c426f9c8a453deef09c3d6679824af5f3d5 (diff)
when mmap_sa opens a database, it must decrypt it, change signature to mmap and die
git-svn-id: http://svn.miranda-ng.org/main/trunk@7416 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database/database.cpp')
-rw-r--r--src/modules/database/database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/database/database.cpp b/src/modules/database/database.cpp
index a66e814e30..ae2a0d8cd4 100644
--- a/src/modules/database/database.cpp
+++ b/src/modules/database/database.cpp
@@ -354,7 +354,7 @@ int tryOpenDatabase(const TCHAR *tszProfile)
db_setCurrent(currDb = pDb);
return 0;
}
- return 1;
+ delete pDb;
}
else {
switch (err) {