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 | 65806e62b146e2055b2a535bbf37c73152c9b5c9 (patch) | |
tree | 67a885fdb2c1ca35855e32d8d559277550c71fe3 /llvm/lib/System/Win32 | |
parent | 014dd48fbcd81c27117deebeab82c6a48d06ce16 (diff) | |
download | bcm5719-llvm-65806e62b146e2055b2a535bbf37c73152c9b5c9.tar.gz bcm5719-llvm-65806e62b146e2055b2a535bbf37c73152c9b5c9.zip |
Note to self: don't introduce memory leaks.
llvm-svn: 22422
Diffstat (limited to 'llvm/lib/System/Win32')
-rw-r--r-- | llvm/lib/System/Win32/Mutex.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/System/Win32/Mutex.inc b/llvm/lib/System/Win32/Mutex.inc index 439ce1a401a..0a4bc4b7514 100644 --- a/llvm/lib/System/Win32/Mutex.inc +++ b/llvm/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; } |