[svn-commits] mmichelson: branch 1.4 r223213 - /branches/1.4/apps/app_dial.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Fri Oct 9 13:17:16 CDT 2009
Author: mmichelson
Date: Fri Oct 9 13:17:12 2009
New Revision: 223213
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=223213
Log:
Fix potential memory leak in app_dial.c
Modified:
branches/1.4/apps/app_dial.c
Modified: branches/1.4/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/apps/app_dial.c?view=diff&rev=223213&r1=223212&r2=223213
==============================================================================
--- branches/1.4/apps/app_dial.c (original)
+++ branches/1.4/apps/app_dial.c Fri Oct 9 13:17:12 2009
@@ -1224,6 +1224,7 @@
datastore->inheritance = DATASTORE_INHERIT_FOREVER;
if (!(dialed_interfaces = ast_calloc(1, sizeof(*dialed_interfaces)))) {
+ ast_channel_datastore_free(datastore);
free(tmp);
goto out;
}
More information about the svn-commits
mailing list