summaryrefslogtreecommitdiff
path: root/rest-api-templates
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2015-01-23 15:21:56 +0000
committerKevin Harwell <kharwell@digium.com>2015-01-23 15:21:56 +0000
commitca02121ef7f5a521dd941ca758750a074b9fbac8 (patch)
tree891da26a8cad65c242976830040870c4fbfab469 /rest-api-templates
parent49cbfa7de6547f9829c0b94972efa0654263eb01 (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 'rest-api-templates')
-rw-r--r--rest-api-templates/param_parsing.mustache2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest-api-templates/param_parsing.mustache b/rest-api-templates/param_parsing.mustache
index 2dde4b33f..247c121d9 100644
--- a/rest-api-templates/param_parsing.mustache
+++ b/rest-api-templates/param_parsing.mustache
@@ -101,7 +101,7 @@
}
}
{{#body_parameter}}
- args.{{c_name}} = ast_json_ref(body);
+ args.{{c_name}} = body;
{{/body_parameter}}
{{^body_parameter}}
if (ast_ari_{{c_name}}_{{c_nickname}}_parse_body(body, &args)) {