[asterisk-commits] tilghman: trunk r138148 - /trunk/main/pbx.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Aug 15 14:36:11 CDT 2008


Author: tilghman
Date: Fri Aug 15 14:36:11 2008
New Revision: 138148

URL: http://svn.digium.com/view/asterisk?view=rev&rev=138148
Log:
Change free to ast_free_ptr, too

Modified:
    trunk/main/pbx.c

Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=138148&r1=138147&r2=138148
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Fri Aug 15 14:36:11 2008
@@ -3391,7 +3391,7 @@
 	 */
 	if (e->exten[0] == '_') {
 		ast_add_extension(e->parent->name, 0, exten, e->priority, e->label,
-			e->cidmatch, e->app, ast_strdup(e->data), free,
+			e->cidmatch, e->app, ast_strdup(e->data), ast_free_ptr,
 			e->registrar);
 		e = ast_hint_extension(NULL, context, exten);
 		if (!e || e->exten[0] == '_') {




More information about the asterisk-commits mailing list