[svn-commits] twilson: branch 1.4 r309947 - /branches/1.4/apps/app_externalivr.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Mar 7 20:42:04 CST 2011


Author: twilson
Date: Mon Mar  7 20:42:00 2011
New Revision: 309947

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=309947
Log:
Don't try to free statically allocated memory.

Note: compiling after ./configure --enable-dev-mode will keep these
kinds of mistakes from being committed.

Modified:
    branches/1.4/apps/app_externalivr.c

Modified: branches/1.4/apps/app_externalivr.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/apps/app_externalivr.c?view=diff&rev=309947&r1=309946&r2=309947
==============================================================================
--- branches/1.4/apps/app_externalivr.c (original)
+++ branches/1.4/apps/app_externalivr.c Mon Mar  7 20:42:00 2011
@@ -112,7 +112,6 @@
 
 	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)




More information about the svn-commits mailing list