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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Aug 16 07:52:08 CDT 2008


Author: tilghman
Date: Sat Aug 16 07:52:06 2008
New Revision: 138409

URL: http://svn.digium.com/view/asterisk?view=rev&rev=138409
Log:
Also make sure hinting won't crash on reload.
(Closes issue #13312)

Modified:
    trunk/main/pbx.c

Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=138409&r1=138408&r2=138409
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Sat Aug 16 07:52:06 2008
@@ -5921,7 +5921,7 @@
 		 */
 		if (exten && exten->exten[0] == '_') {
 			ast_add_extension(exten->parent->name, 0, this->exten, PRIORITY_HINT, NULL,
-				0, exten->app, strdup(exten->data), free, registrar);
+				0, exten->app, ast_strdup(exten->data), ast_free_ptr, registrar);
 			exten = ast_hint_extension(NULL, this->context, this->exten);
 		}
 




More information about the asterisk-commits mailing list