mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
Investigate and fix memory leaks in Asterisk
Fixed memory leaks that were found in Asterisk. ASTERISK-24693 #close Reported by: Kevin Harwell Review: https://reviewboard.asterisk.org/r/4347/ ........ Merged revisions 430999 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431010 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -658,7 +658,7 @@ static struct mwi_subscription *mwi_subscribe_all(
|
||||
static int mwi_new_subscribe(struct ast_sip_endpoint *endpoint,
|
||||
const char *resource)
|
||||
{
|
||||
struct ast_sip_aor *aor;
|
||||
RAII_VAR(struct ast_sip_aor *, aor, NULL, ao2_cleanup);
|
||||
|
||||
if (ast_strlen_zero(resource)) {
|
||||
if (ast_sip_for_each_aor(endpoint->aors, mwi_validate_for_aor, endpoint)) {
|
||||
|
Reference in New Issue
Block a user