diff options
author | Kevin Harwell <kharwell@digium.com> | 2015-01-23 15:21:56 +0000 |
---|---|---|
committer | Kevin Harwell <kharwell@digium.com> | 2015-01-23 15:21:56 +0000 |
commit | ca02121ef7f5a521dd941ca758750a074b9fbac8 (patch) | |
tree | 891da26a8cad65c242976830040870c4fbfab469 /res/res_ari_channels.c | |
parent | 49cbfa7de6547f9829c0b94972efa0654263eb01 (diff) |
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
Diffstat (limited to 'res/res_ari_channels.c')
-rw-r--r-- | res/res_ari_channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_ari_channels.c b/res/res_ari_channels.c index 82bb662d2..20128ae02 100644 --- a/res/res_ari_channels.c +++ b/res/res_ari_channels.c @@ -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; |