Merge pull request #968 in FS/freeswitch from ~DINGDING/freeswitch:bugfix/FS-9536-fix-switch_core_hash_delete-return-invalid to master
* commit '9f01830d6048933c0d7b33381d7bd02e120927cb': FS-9536 [core] fix return value
This commit is contained in:
commit
ca28fdc8f3
|
@ -111,7 +111,7 @@ SWITCH_DECLARE(void *) switch_core_hash_delete_locked(switch_hash_t *hash, const
|
|||
switch_mutex_lock(mutex);
|
||||
}
|
||||
|
||||
switch_core_hash_delete(hash, key);
|
||||
ret = switch_core_hash_delete(hash, key);
|
||||
|
||||
if (mutex) {
|
||||
switch_mutex_unlock(mutex);
|
||||
|
|
Loading…
Reference in New Issue