mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +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:
@@ -233,7 +233,7 @@ static void ast_ari_channels_originate_cb(
|
||||
goto fin;
|
||||
}
|
||||
}
|
||||
args.variables = ast_json_ref(body);
|
||||
args.variables = body;
|
||||
ast_ari_channels_originate(headers, &args, response);
|
||||
#if defined(AST_DEVMODE)
|
||||
code = response->response_code;
|
||||
@@ -456,7 +456,7 @@ static void ast_ari_channels_originate_with_id_cb(
|
||||
goto fin;
|
||||
}
|
||||
}
|
||||
args.variables = ast_json_ref(body);
|
||||
args.variables = body;
|
||||
ast_ari_channels_originate_with_id(headers, &args, response);
|
||||
#if defined(AST_DEVMODE)
|
||||
code = response->response_code;
|
||||
|
Reference in New Issue
Block a user