diff options
Diffstat (limited to 'llvm/lib/System')
-rw-r--r-- | llvm/lib/System/Mutex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Mutex.cpp b/llvm/lib/System/Mutex.cpp index f55dd3fe26f..d95c25b39ee 100644 --- a/llvm/lib/System/Mutex.cpp +++ b/llvm/lib/System/Mutex.cpp @@ -101,7 +101,7 @@ Mutex::~Mutex() pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); assert(mutex != 0); pthread_mutex_destroy(mutex); - assert(mutex != 0); + free(mutex); } } |