[asterisk-commits] file: branch file/chan_jingle2 r365688 - /team/file/chan_jingle2/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 8 14:21:43 CDT 2012


Author: file
Date: Tue May  8 14:21:39 2012
New Revision: 365688

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=365688
Log:
Fix a memory leak. Destroy the scheduler context when unloading the module.

Modified:
    team/file/chan_jingle2/channels/chan_jingle2.c

Modified: team/file/chan_jingle2/channels/chan_jingle2.c
URL: http://svnview.digium.com/svn/asterisk/team/file/chan_jingle2/channels/chan_jingle2.c?view=diff&rev=365688&r1=365687&r2=365688
==============================================================================
--- team/file/chan_jingle2/channels/chan_jingle2.c (original)
+++ team/file/chan_jingle2/channels/chan_jingle2.c Tue May  8 14:21:39 2012
@@ -2254,7 +2254,7 @@
 {
 	ast_channel_unregister(&jingle_tech);
 	ast_rtp_glue_unregister(&jingle_rtp_glue);
-
+	ast_sched_context_destroy(sched);
 	ao2_ref(endpoints, -1);
 
 	return 0;




More information about the asterisk-commits mailing list