[asterisk-commits] mmichelson: branch 11 r431472 - /branches/11/main/pbx.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Jan 30 10:55:41 CST 2015
Author: mmichelson
Date: Fri Jan 30 10:55:39 2015
New Revision: 431472
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=431472
Log:
Backport memory leak fix in pbx.c from branch 13 revision 431468
Modified:
branches/11/main/pbx.c
Modified: branches/11/main/pbx.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/pbx.c?view=diff&rev=431472&r1=431471&r2=431472
==============================================================================
--- branches/11/main/pbx.c (original)
+++ branches/11/main/pbx.c Fri Jan 30 10:55:39 2015
@@ -8878,7 +8878,7 @@
dupdstr = ast_strdup(prio_item->data);
res1 = ast_add_extension2(new, 0, prio_item->exten, prio_item->priority, prio_item->label,
- prio_item->matchcid ? prio_item->cidmatch : NULL, prio_item->app, dupdstr, prio_item->datad, prio_item->registrar);
+ prio_item->matchcid ? prio_item->cidmatch : NULL, prio_item->app, dupdstr, ast_free_ptr, prio_item->registrar);
if (!res1 && new_exten_item && new_prio_item){
ast_verb(3,"Dropping old dialplan item %s/%s/%d [%s(%s)] (registrar=%s) due to conflict with new dialplan\n",
context->name, prio_item->exten, prio_item->priority, prio_item->app, (char*)prio_item->data, prio_item->registrar);
More information about the asterisk-commits
mailing list