fix small memory leak

fix small memory leak caused by a string allocation that wasn't freed

(closes issue #18907)
Reported by: andy11
Patches: 
      asterisk_trunk-app_externalivr-leak.patch uploaded by andy11 (license 1224)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@309355 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.4
David Ruggles 15 years ago
parent e90101cecf
commit fd2d1c2139

@ -112,6 +112,7 @@ static void send_child_event(FILE *handle, const char event, const char *data,
fprintf(handle, "%s\n", tmp);
ast_chan_log(LOG_DEBUG, chan, "sent '%s'\n", tmp);
ast_free(tmp);
}
static void *gen_alloc(struct ast_channel *chan, void *params)

Loading…
Cancel
Save