[asterisk-commits] mmichelson: branch mmichelson/rls-rlmi r418362 - /team/mmichelson/rls-rlmi/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 10 15:35:56 CDT 2014


Author: mmichelson
Date: Thu Jul 10 15:35:53 2014
New Revision: 418362

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=418362
Log:
Fix reference leak that occurs when batched notification is interrupted.


Modified:
    team/mmichelson/rls-rlmi/res/res_pjsip_pubsub.c

Modified: team/mmichelson/rls-rlmi/res/res_pjsip_pubsub.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/rls-rlmi/res/res_pjsip_pubsub.c?view=diff&rev=418362&r1=418361&r2=418362
==============================================================================
--- team/mmichelson/rls-rlmi/res/res_pjsip_pubsub.c (original)
+++ team/mmichelson/rls-rlmi/res/res_pjsip_pubsub.c Thu Jul 10 15:35:53 2014
@@ -1783,6 +1783,7 @@
 	 * bail out here instead of sending the batched NOTIFY.
 	 */
 	if (!sub_tree->send_scheduled_notify) {
+		ao2_cleanup(sub_tree);
 		return 0;
 	}
 




More information about the asterisk-commits mailing list