[svn-commits] mmichelson: branch 1.6.1 r223241 - in /branches/1.6.1: ./ apps/app_dial.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Fri Oct 9 13:25:24 CDT 2009


Author: mmichelson
Date: Fri Oct  9 13:25:19 2009
New Revision: 223241

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=223241
Log:
Merged revisions 223215 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r223215 | mmichelson | 2009-10-09 13:17:34 -0500 (Fri, 09 Oct 2009) | 9 lines
  
  Recorded merge of revisions 223213 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r223213 | mmichelson | 2009-10-09 13:17:12 -0500 (Fri, 09 Oct 2009) | 3 lines
    
    Fix potential memory leak in app_dial.c
  ........
................

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/apps/app_dial.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/apps/app_dial.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/apps/app_dial.c?view=diff&rev=223241&r1=223240&r2=223241
==============================================================================
--- branches/1.6.1/apps/app_dial.c (original)
+++ branches/1.6.1/apps/app_dial.c Fri Oct  9 13:25:19 2009
@@ -1477,6 +1477,7 @@
 			datastore->inheritance = DATASTORE_INHERIT_FOREVER;
 
 			if (!(dialed_interfaces = ast_calloc(1, sizeof(*dialed_interfaces)))) {
+				ast_datastore_free(datastore);
 				ast_free(tmp);
 				goto out;
 			}




More information about the svn-commits mailing list