]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Reintroduce memory leak in mod_hash to avoid crash
authorTravis Cross <tc@traviscross.com>
Wed, 3 Sep 2014 18:11:08 +0000 (18:11 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 3 Sep 2014 18:16:11 +0000 (18:16 +0000)
ref: commit 3e24b3e2c2b28cc672943e75b009377d33f1b01b
ref: FS-6783
ref: FS-6775

src/mod/applications/mod_hash/mod_hash.c

index 133f05de3e6ddf98efdcd69e8d87d90aaf7903ec..587a8f20cb0451f2ca607e9d1ff1bff21ab00471 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);