]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Re-fix memory leak
authorTravis Cross <tc@traviscross.com>
Wed, 3 Sep 2014 19:41:41 +0000 (19:41 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 3 Sep 2014 19:44:43 +0000 (19:44 +0000)
After consideration, this still looks correct.

Thanks-to: Anthony Minessale <anthm@freeswitch.org>
ref: FS-6783
ref: FS-6775

src/mod/applications/mod_hash/mod_hash.c

index 587a8f20cb0451f2ca607e9d1ff1bff21ab00471..133f05de3e6ddf98efdcd69e8d87d90aaf7903ec 100644 (file)
@@ -310,7 +310,7 @@ SWITCH_LIMIT_RELEASE(limit_release_hash)
 
                        switch_core_hash_delete(pvt->hash, (const char *) key);
                }
-               //switch_core_hash_destroy(&pvt->hash);
+               switch_core_hash_destroy(&pvt->hash);
        } else {
                char *hashkey = switch_core_session_sprintf(session, "%s_%s", realm, resource);