[svn-commits] kmoore: branch kmoore/stasis-mwi r382481 - /team/kmoore/stasis-mwi/main/stasis.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 5 23:16:15 CST 2013


Author: kmoore
Date: Tue Mar  5 23:16:11 2013
New Revision: 382481

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=382481
Log:
Fix uniqueid leak

Modified:
    team/kmoore/stasis-mwi/main/stasis.c

Modified: team/kmoore/stasis-mwi/main/stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/kmoore/stasis-mwi/main/stasis.c?view=diff&rev=382481&r1=382480&r2=382481
==============================================================================
--- team/kmoore/stasis-mwi/main/stasis.c (original)
+++ team/kmoore/stasis-mwi/main/stasis.c Tue Mar  5 23:16:11 2013
@@ -121,6 +121,8 @@
 	sub->topic = NULL;
 	ao2_cleanup(sub->mailbox);
 	sub->mailbox = NULL;
+	ast_free(sub->uniqueid);
+	sub->uniqueid = NULL;
 }
 
 static void send_subscription_change_message(struct stasis_topic *topic, char *uniqueid, char *description, int topic_locked);




More information about the svn-commits mailing list