mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
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
This commit is contained in:
parent
b639f1461e
commit
2497251e6d
@ -31,6 +31,7 @@ Mutex::Mutex(bool /*recursive*/)
|
|||||||
Mutex::~Mutex()
|
Mutex::~Mutex()
|
||||||
{
|
{
|
||||||
DeleteCriticalSection((LPCRITICAL_SECTION)data_);
|
DeleteCriticalSection((LPCRITICAL_SECTION)data_);
|
||||||
|
delete (LPCRITICAL_SECTION)data_;
|
||||||
data_ = 0;
|
data_ = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user