[asterisk-commits] mmichelson: branch mmichelson/npm_fixes r181016 - /team/mmichelson/npm_fixes/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 10 18:15:49 CDT 2009


Author: mmichelson
Date: Tue Mar 10 18:15:45 2009
New Revision: 181016

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=181016
Log:
Use ast_free instead of free.


Modified:
    team/mmichelson/npm_fixes/main/pbx.c

Modified: team/mmichelson/npm_fixes/main/pbx.c
URL: http://svn.digium.com/svn-view/asterisk/team/mmichelson/npm_fixes/main/pbx.c?view=diff&rev=181016&r1=181015&r2=181016
==============================================================================
--- team/mmichelson/npm_fixes/main/pbx.c (original)
+++ team/mmichelson/npm_fixes/main/pbx.c Tue Mar 10 18:15:45 2009
@@ -2042,7 +2042,7 @@
 		pattern_tree->next_char = 0;
 	}
 	pattern_tree->exten = 0; /* never hurts to make sure there's no pointers laying around */
-	free(pattern_tree);
+	ast_free(pattern_tree);
 }
 
 /*




More information about the asterisk-commits mailing list