aboutsummaryrefslogtreecommitdiff
path: root/lib/System/Mutex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/System/Mutex.cpp')
-rw-r--r--lib/System/Mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Mutex.cpp b/lib/System/Mutex.cpp
index f55dd3fe26..d95c25b39e 100644
--- a/lib/System/Mutex.cpp
+++ b/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);
}
}