diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2005-07-13 02:58:04 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2005-07-13 02:58:04 +0000 |
commit | 2497251e6dbbdf07b1ff72fa828c3ec8afe04881 (patch) | |
tree | 26d5fc03cdfded6823d751341c2682606a4e80c3 /lib/System | |
parent | b639f1461e77904ff210217af2aee327cc7063ea (diff) | |
download | external_llvm-2497251e6dbbdf07b1ff72fa828c3ec8afe04881.zip external_llvm-2497251e6dbbdf07b1ff72fa828c3ec8afe04881.tar.gz external_llvm-2497251e6dbbdf07b1ff72fa828c3ec8afe04881.tar.bz2 |
Note to self: don't introduce memory leaks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System')
-rw-r--r-- | lib/System/Win32/Mutex.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/System/Win32/Mutex.inc b/lib/System/Win32/Mutex.inc index 439ce1a..0a4bc4b 100644 --- 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; } |