[llvm-commits] CVS: llvm/lib/System/Win32/Mutex.inc
Jeff Cohen
jeffc at jolt-lang.org
Tue Jul 12 19:58:15 PDT 2005
Changes in directory llvm/lib/System/Win32:
Mutex.inc updated: 1.2 -> 1.3
---
Log message:
Note to self: don't introduce memory leaks.
---
Diffs of the changes: (+1 -0)
Mutex.inc | 1 +
1 files changed, 1 insertion(+)
Index: llvm/lib/System/Win32/Mutex.inc
diff -u llvm/lib/System/Win32/Mutex.inc:1.2 llvm/lib/System/Win32/Mutex.inc:1.3
--- llvm/lib/System/Win32/Mutex.inc:1.2 Tue Jul 12 21:15:17 2005
+++ llvm/lib/System/Win32/Mutex.inc Tue Jul 12 21:58:04 2005
@@ -31,6 +31,7 @@
Mutex::~Mutex()
{
DeleteCriticalSection((LPCRITICAL_SECTION)data_);
+ delete (LPCRITICAL_SECTION)data_;
data_ = 0;
}
More information about the llvm-commits
mailing list