projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b639f14
)
Note to self: don't introduce memory leaks.
author
Jeff Cohen
<jeffc@jolt-lang.org>
Wed, 13 Jul 2005 02:58:04 +0000
(
02:58
+0000)
committer
Jeff Cohen
<jeffc@jolt-lang.org>
Wed, 13 Jul 2005 02:58:04 +0000
(
02:58
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22422
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Win32/Mutex.inc
patch
|
blob
|
history
diff --git
a/lib/System/Win32/Mutex.inc
b/lib/System/Win32/Mutex.inc
index 439ce1a401a8fe30c1cc77a34293af3ed8286840..0a4bc4b75149d04f1fc289d03de906cb102ba6c1 100644
(file)
--- a/
lib/System/Win32/Mutex.inc
+++ b/
lib/System/Win32/Mutex.inc
@@
-31,6
+31,7
@@
Mutex::Mutex(bool /*recursive*/)
Mutex::~Mutex()
{
DeleteCriticalSection((LPCRITICAL_SECTION)data_);
+ delete (LPCRITICAL_SECTION)data_;
data_ = 0;
}