]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9536 [core] fix return value
authordingding <cdevelop@qq.com>
Tue, 20 Sep 2016 04:51:59 +0000 (12:51 +0800)
committerdingding <cdevelop@qq.com>
Wed, 21 Sep 2016 01:43:04 +0000 (09:43 +0800)
src/switch_core_hash.c

index d52bb3aab3ce4d934ceac7ea058154b2f4cd452a..3e954f5b529b21bf4ce3a4bc87a66f09338cad33 100644 (file)
@@ -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);