[asterisk-commits] dlee: branch dlee/ASTERISK-22243 r396343 - /team/dlee/ASTERISK-22243/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 6 13:22:44 CDT 2013


Author: dlee
Date: Tue Aug  6 13:22:40 2013
New Revision: 396343

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=396343
Log:
Missing cleanup

Modified:
    team/dlee/ASTERISK-22243/main/stasis_cache_pattern.c

Modified: team/dlee/ASTERISK-22243/main/stasis_cache_pattern.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/ASTERISK-22243/main/stasis_cache_pattern.c?view=diff&rev=396343&r1=396342&r2=396343
==============================================================================
--- team/dlee/ASTERISK-22243/main/stasis_cache_pattern.c (original)
+++ team/dlee/ASTERISK-22243/main/stasis_cache_pattern.c Tue Aug  6 13:22:40 2013
@@ -177,6 +177,9 @@
 	stasis_unsubscribe(one->forward_cached_to_all);
 	one->forward_cached_to_all = NULL;
 	stasis_caching_unsubscribe(one->topic_cached);
+	one->topic_cached = NULL;
+
+	ao2_cleanup(one);
 }
 
 struct stasis_topic *stasis_cp_single_topic(struct stasis_cp_single *one)




More information about the asterisk-commits mailing list