diff options
Diffstat (limited to 'llvm/lib')
-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; } |