summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <stewart@mysql.com>2006-04-07 19:28:18 +1000
committerunknown <stewart@mysql.com>2006-04-07 19:28:18 +1000
commitb3765a993a9beba5546a01546a19aff56ef25b28 (patch)
tree100412bf343fe305690777c668d350b7174fb07e /ndb
parent82c1be05d7f7e2e9e54e33777a46e3cb5d8006f1 (diff)
downloadmariadb-git-b3765a993a9beba5546a01546a19aff56ef25b28.tar.gz
BUG#18881 valgrind: kernel memory leak in vm/Emulator.cpp
ndb/src/kernel/vm/Emulator.cpp: destroy theShutdownMutex in the destructor
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/kernel/vm/Emulator.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ndb/src/kernel/vm/Emulator.cpp b/ndb/src/kernel/vm/Emulator.cpp
index 058829e05e2..c25e8db7763 100644
--- a/ndb/src/kernel/vm/Emulator.cpp
+++ b/ndb/src/kernel/vm/Emulator.cpp
@@ -106,6 +106,7 @@ EmulatorData::destroy(){
delete theSimBlockList; theSimBlockList = 0;
if(m_socket_server)
delete m_socket_server; m_socket_server = 0;
+ NdbMutex_Destroy(theShutdownMutex);
NdbMem_Destroy();
}