[asterisk-commits] mmichelson: branch group/CCSS r220696 - /team/group/CCSS/main/ccss.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 28 11:23:48 CDT 2009


Author: mmichelson
Date: Mon Sep 28 11:23:45 2009
New Revision: 220696

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=220696
Log:
Fix another memory leak.


Modified:
    team/group/CCSS/main/ccss.c

Modified: team/group/CCSS/main/ccss.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/main/ccss.c?view=diff&rev=220696&r1=220695&r2=220696
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Mon Sep 28 11:23:45 2009
@@ -1920,6 +1920,7 @@
 	pbx_builtin_setvar_helper(chan, "CC_INTERFACES", ast_str_buffer(var_value));
 	ast_log(LOG_NOTICE, "I set CC_INTERFACES to %s\n", ast_str_buffer(var_value));
 	ast_channel_unlock(chan);
+	ast_free(var_value);
 	return 0;
 }
 




More information about the asterisk-commits mailing list