aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-28 13:02:32 +0000
committerlloyd <[email protected]>2008-06-28 13:02:32 +0000
commit3f96eb37b14edfba7dd3e28e2bfe67f2fcd919e1 (patch)
treeda15adef53c0bedf3b4d248ff96ddc96f778a883
parent022f07c82e3c83f4ec6829b03c7013ced1710c41 (diff)
The two remaining locks were not being deleted, leaking memory
-rw-r--r--src/libstate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstate.cpp b/src/libstate.cpp
index 22156af79..8b1e04cdb 100644
--- a/src/libstate.cpp
+++ b/src/libstate.cpp
@@ -223,6 +223,8 @@ Library_State::~Library_State()
delete allocators[j];
}
+ delete allocator_lock;
+ delete engine_lock;
delete mutex_factory;
}