[asterisk-commits] kmoore: branch kmoore/stasis-mwi r382485 - /team/kmoore/stasis-mwi/main/stasis.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Mar 6 08:26:47 CST 2013


Author: kmoore
Date: Wed Mar  6 08:26:44 2013
New Revision: 382485

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=382485
Log:
Taskprocessors have a special unref function

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=382485&r1=382484&r2=382485
==============================================================================
--- team/kmoore/stasis-mwi/main/stasis.c (original)
+++ team/kmoore/stasis-mwi/main/stasis.c Wed Mar  6 08:26:44 2013
@@ -119,7 +119,7 @@
 	struct stasis_subscription *sub = obj;
 	ao2_cleanup(sub->topic);
 	sub->topic = NULL;
-	ao2_cleanup(sub->mailbox);
+	ast_taskprocessor_unreference(sub->mailbox);
 	sub->mailbox = NULL;
 	ast_free(sub->uniqueid);
 	sub->uniqueid = NULL;




More information about the asterisk-commits mailing list