summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbtool/finaltasks.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-23 15:10:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-23 15:10:09 +0000
commitc0dc4dcad95f8d8e95986c61514544b52387408a (patch)
tree6646cc5d571b34cd9731178de1461f2e147fd253 /plugins/Db3x_mmap/src/dbtool/finaltasks.cpp
parent9fc5ea1dd35c7115d34f9a1372ab4d2e6d966002 (diff)
dbx_mmap to verify password before checking file
git-svn-id: http://svn.miranda-ng.org/main/trunk@7835 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db3x_mmap/src/dbtool/finaltasks.cpp')
-rw-r--r--plugins/Db3x_mmap/src/dbtool/finaltasks.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/plugins/Db3x_mmap/src/dbtool/finaltasks.cpp b/plugins/Db3x_mmap/src/dbtool/finaltasks.cpp
index a7f9c8ef46..dc1e05463c 100644
--- a/plugins/Db3x_mmap/src/dbtool/finaltasks.cpp
+++ b/plugins/Db3x_mmap/src/dbtool/finaltasks.cpp
@@ -27,17 +27,5 @@ int CDb3Base::WorkFinalTasks(int firstTime)
if (WriteSegment(0, &m_dbHeader, sizeof(m_dbHeader)) == WS_ERROR)
return ERROR_WRITE_FAULT;
- if (m_hDbFile) {
- CloseHandle(m_hDbFile);
- m_hDbFile = NULL;
- }
- if (m_pDbCache) {
- UnmapViewOfFile(m_pDbCache);
- m_pDbCache = NULL;
- }
- if (m_hMap) {
- CloseHandle(m_hMap);
- m_hMap = NULL;
- }
return ERROR_NO_MORE_ITEMS;
}