[asterisk-commits] russell: branch 10 r360364 - in /branches/10: ./ apps/app_page.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Mar 23 22:10:25 CDT 2012
Author: russell
Date: Fri Mar 23 22:10:22 2012
New Revision: 360364
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=360364
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
Modified:
branches/10/ (props changed)
branches/10/apps/app_page.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/apps/app_page.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/apps/app_page.c?view=diff&rev=360364&r1=360363&r2=360364
==============================================================================
--- branches/10/apps/app_page.c (original)
+++ branches/10/apps/app_page.c Fri Mar 23 22:10:22 2012
@@ -296,6 +296,8 @@
ast_dial_destroy(dial);
}
+ ast_free(dial_list);
+
return -1;
}
More information about the asterisk-commits
mailing list