[asterisk-commits] russell: branch 1.6.1 r173850 - in /branches/1.6.1: ./ main/manager.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Feb 6 04:26:19 CST 2009


Author: russell
Date: Fri Feb  6 04:26:18 2009
New Revision: 173850

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=173850
Log:
Merged revisions 173848 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r173848 | russell | 2009-02-06 04:25:09 -0600 (Fri, 06 Feb 2009) | 2 lines

Resolve a memory leak that would occur on an invalid channel given to Action: Status

........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/main/manager.c

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

Modified: branches/1.6.1/main/manager.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.1/main/manager.c?view=diff&rev=173850&r1=173849&r2=173850
==============================================================================
--- branches/1.6.1/main/manager.c (original)
+++ branches/1.6.1/main/manager.c Fri Feb  6 04:26:18 2009
@@ -1855,6 +1855,7 @@
 		c = ast_get_channel_by_name_locked(name);
 		if (!c) {
 			astman_send_error(s, m, "No such channel");
+			ast_free(str);
 			return 0;
 		}
 	}




More information about the asterisk-commits mailing list