mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-11 03:57:14 +00:00
sync
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@424 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
1 parent
1540877894
commit
2ff832c9b9
3 files changed
+30
-24
No files matched your search
@@ -174,6 +174,9 @@ zap_status_t zap_mutex_destroy(zap_mutex_t **mutex)
|
||||
{
|
||||
zap_mutex_t *mp = *mutex;
|
||||
*mutex = NULL;
|
||||
if (!mp) {
|
||||
return ZAP_FAIL;
|
||||
}
|
||||
#ifdef WIN32
|
||||
DeleteCriticalSection(&mp->mutex);
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user