summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbintf.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-07 21:52:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-07 21:52:27 +0300
commit1cd15bc24f7e8cb87e9a9b96dd05ce62ce58cf0d (patch)
treea51a5fdefa1f8e5b2546547d48894867ced740b3 /plugins/Db3x_mmap/src/dbintf.cpp
parentfe0a3147a8050a987281beb4b5e1481b982c93bc (diff)
old C-style code is obsolete now because of MDatabaseCommon existence
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintf.cpp')
-rw-r--r--plugins/Db3x_mmap/src/dbintf.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.cpp b/plugins/Db3x_mmap/src/dbintf.cpp
index da2e998595..dc775b82b1 100644
--- a/plugins/Db3x_mmap/src/dbintf.cpp
+++ b/plugins/Db3x_mmap/src/dbintf.cpp
@@ -49,7 +49,6 @@ CDb3Mmap::CDb3Mmap(const wchar_t *tszFileName, int iMode) :
m_lOfs(50, OfsCompare)
{
m_tszProfileName = mir_wstrdup(tszFileName);
- InitDbInstance(this);
SYSTEM_INFO sinf;
GetSystemInfo(&sinf);
@@ -98,7 +97,6 @@ CDb3Mmap::~CDb3Mmap()
DestroyHookableEvent(hEventDeletedEvent);
DestroyHookableEvent(hEventFilterAddedEvent);
- DestroyDbInstance(this);
mir_free(m_tszProfileName);
free(m_pNull);