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:
parent
8c0a1d17e2
commit
82a28e76e4
|
@ -310,7 +310,7 @@ SWITCH_LIMIT_RELEASE(limit_release_hash)
|
||||||
|
|
||||||
switch_core_hash_delete(pvt->hash, (const char *) key);
|
switch_core_hash_delete(pvt->hash, (const char *) key);
|
||||||
}
|
}
|
||||||
//switch_core_hash_destroy(&pvt->hash);
|
switch_core_hash_destroy(&pvt->hash);
|
||||||
} else {
|
} else {
|
||||||
char *hashkey = switch_core_session_sprintf(session, "%s_%s", realm, resource);
|
char *hashkey = switch_core_session_sprintf(session, "%s_%s", realm, resource);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue