From 744b5c4bbb84a0494a34ccaaf662fd837c313c45 Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Tue, 8 Mar 2011 02:42:00 +0000 Subject: [PATCH] Don't try to free statically allocated memory. Note: compiling after ./configure --enable-dev-mode will keep these kinds of mistakes from being committed. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@309947 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_externalivr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/app_externalivr.c b/apps/app_externalivr.c index 965241b3a0..42fd469c31 100644 --- a/apps/app_externalivr.c +++ b/apps/app_externalivr.c @@ -112,7 +112,6 @@ 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) -- 2.47.2