[svn-commits] trunk r34461 - /trunk/channels/chan_agent.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Fri Jun 16 05:24:14 MST 2006
Author: bweschke
Date: Fri Jun 16 07:24:14 2006
New Revision: 34461
URL: http://svn.digium.com/view/asterisk?rev=34461&view=rev
Log:
Make sure agent_tech is unregistered within unload_module(). It's in 1.2, but was lost at some point in /trunk. #7374 (jstorm)
Modified:
trunk/channels/chan_agent.c
Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?rev=34461&r1=34460&r2=34461&view=diff
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Fri Jun 16 07:24:14 2006
@@ -2610,7 +2610,7 @@
}
AST_LIST_UNLOCK(&agents);
AST_LIST_HEAD_DESTROY(&agents);
-
+ ast_channel_unregister(&agent_tech);
return 0;
}
More information about the svn-commits
mailing list