summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbintf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Db3x_mmap/src/dbintf.cpp')
-rw-r--r--plugins/Db3x_mmap/src/dbintf.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbintf.cpp b/plugins/Db3x_mmap/src/dbintf.cpp
index c17fdd0e05..888d47e1d3 100644
--- a/plugins/Db3x_mmap/src/dbintf.cpp
+++ b/plugins/Db3x_mmap/src/dbintf.cpp
@@ -78,6 +78,9 @@ CDb3Mmap::~CDb3Mmap()
UnmapViewOfFile(m_pDbCache);
}
+ DestroyServiceFunction(hService);
+ UnhookEvent(hHook);
+
if (m_crypto)
m_crypto->destroy();