From: dingding Date: Tue, 20 Sep 2016 04:51:59 +0000 (+0800) Subject: FS-9536 [core] fix return value X-Git-Tag: v1.6.11~9^2~10^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f01830d6048933c0d7b33381d7bd02e120927cb;p=thirdparty%2Ffreeswitch.git FS-9536 [core] fix return value --- diff --git a/src/switch_core_hash.c b/src/switch_core_hash.c index d52bb3aab3..3e954f5b52 100644 --- a/src/switch_core_hash.c +++ b/src/switch_core_hash.c @@ -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);