rendered paste bodyIndex: pbx/pbx_dundi.c
===================================================================
--- pbx/pbx_dundi.c (revision 9587)
+++ pbx/pbx_dundi.c (working copy)
@@ -4726,6 +4726,7 @@
ast_unregister_switch(&dundi_switch);
ast_custom_function_unregister(&dundi_function);
res = ast_unregister_application(app);
+ sched_context_destroy(sched);
return res;
}
Index: channels/chan_sip.c
===================================================================
--- channels/chan_sip.c (revision 9587)
+++ channels/chan_sip.c (working copy)
@@ -13219,6 +13219,7 @@
clear_realm_authentication(authl);
clear_sip_domains();
close(sipsock);
+ sched_context_destroy(sched);
return 0;
}
Index: channels/chan_iax2.c
===================================================================
--- channels/chan_iax2.c (revision 9587)
+++ channels/chan_iax2.c (working copy)
@@ -9506,6 +9506,7 @@
ast_channel_unregister(&iax2_tech);
delete_users();
iax_provision_unload();
+ sched_context_destroy(sched);
return 0;
}
Index: channels/chan_mgcp.c
===================================================================
--- channels/chan_mgcp.c (revision 9587)
+++ channels/chan_mgcp.c (working copy)
@@ -4388,6 +4388,7 @@
ast_cli_unregister(&cli_debug);
ast_cli_unregister(&cli_no_debug);
ast_cli_unregister(&cli_mgcp_reload);
+ sched_context_destroy(sched);
return 0;
}