[asterisk-commits] russell: trunk r360365 - in /trunk: ./ apps/app_page.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Mar 23 22:11:46 CDT 2012
Author: russell
Date: Fri Mar 23 22:11:43 2012
New Revision: 360365
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=360365
Log:
app_page: Fix a memory leak on every Page().
dial_list is a dynamically allocated array that is allocated at the beginning
of Page() based on how many devices will be dialed. This was never being freed.
........
Merged revisions 360363 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 360364 from http://svn.asterisk.org/svn/asterisk/branches/10
Modified:
trunk/ (props changed)
trunk/apps/app_page.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.
Modified: trunk/apps/app_page.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_page.c?view=diff&rev=360365&r1=360364&r2=360365
==============================================================================
--- trunk/apps/app_page.c (original)
+++ trunk/apps/app_page.c Fri Mar 23 22:11:43 2012
@@ -329,6 +329,8 @@
ast_dial_destroy(dial);
}
+ ast_free(dial_list);
+
return -1;
}
More information about the asterisk-commits
mailing list