Re-fix memory leak

After consideration, this still looks correct.

Thanks-to: Anthony Minessale <anthm@freeswitch.org>

ref: FS-6783
ref: FS-6775
This commit is contained in:
Travis Cross 2014-09-03 19:41:41 +00:00
parent 8c0a1d17e2
commit 82a28e76e4

View 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);