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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Sep 28 10:40:39 CDT 2009


Author: mmichelson
Date: Mon Sep 28 10:40:36 2009
New Revision: 220674

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=220674
Log:
Fix a memory leak in monitor devstate callback.


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=220674&r1=220673&r2=220674
==============================================================================
--- team/group/CCSS/main/ccss.c (original)
+++ team/group/CCSS/main/ccss.c Mon Sep 28 10:40:36 2009
@@ -1561,6 +1561,7 @@
 	struct generic_monitor_pvt *gen_mon_pvt = monitor->private_data;
 
 	if (gen_mon_pvt->current_state == new_state) {
+		ast_free(gtcd);
 		return 0;
 	}
 




More information about the asterisk-commits mailing list