From: Travis Cross Date: Wed, 3 Sep 2014 19:41:41 +0000 (+0000) Subject: Re-fix memory leak X-Git-Tag: v1.4.8~2^2~62 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82a28e76e4f8bfd26bd3d7a921d4398325d1b37f;p=thirdparty%2Ffreeswitch.git Re-fix memory leak After consideration, this still looks correct. Thanks-to: Anthony Minessale ref: FS-6783 ref: FS-6775 --- diff --git a/src/mod/applications/mod_hash/mod_hash.c b/src/mod/applications/mod_hash/mod_hash.c index 587a8f20cb..133f05de3e 100644 --- a/src/mod/applications/mod_hash/mod_hash.c +++ b/src/mod/applications/mod_hash/mod_hash.c @@ -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);