From 630eea087d62c717cae2c42366e8a972b8ff022d Mon Sep 17 00:00:00 2001 From: Kevin Harwell Date: Fri, 23 Jan 2015 15:12:41 +0000 Subject: 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/ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430999 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- rest-api-templates/param_parsing.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rest-api-templates') 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)) { -- cgit v1.2.3