summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/dbintf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbintf.cpp')
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.cpp b/plugins/Dbx_mdbx/src/dbintf.cpp
index 2c3f8907b8..4ecf9fbe08 100644
--- a/plugins/Dbx_mdbx/src/dbintf.cpp
+++ b/plugins/Dbx_mdbx/src/dbintf.cpp
@@ -52,7 +52,8 @@ CDbxMDBX::~CDbxMDBX()
if (m_hwndTimer != nullptr)
::DestroyWindow(m_hwndTimer);
- DestroyServiceFunction(hService);
+ for (auto &it : hService)
+ DestroyServiceFunction(it);
UnhookEvent(hHook);
if (m_crypto)