diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-11 19:31:11 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-02-11 19:31:11 +0000 |
commit | 29c48e23e2673f30ae02881dde13d2a5a34b58c1 (patch) | |
tree | 405f4dc66b10eb52b066f309fba8cda09a54c6b4 /channels/chan_mgcp.c | |
parent | e433781c737b9b1b5dad93fa34bfe72f86a212ca (diff) |
Merged revisions 9609 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r9609 | russell | 2006-02-11 14:23:20 -0500 (Sat, 11 Feb 2006) | 2 lines
fix memory leak from not destroying the scheduler context on module unload
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9610 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_mgcp.c')
-rw-r--r-- | channels/chan_mgcp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index e0ddea19a..397e24084 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -4450,6 +4450,7 @@ int unload_module() ast_cli_unregister(&cli_debug); ast_cli_unregister(&cli_no_debug); ast_cli_unregister(&cli_mgcp_reload); + sched_context_destroy(sched); return 0; } |