diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 17:37:44 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 17:37:44 +0000 |
commit | 86607a2098870e86d73f729cb086cca025ccde96 (patch) | |
tree | 04bfeecdea73a23c25ecef6e4e01c0ab1983a149 /channels/chan_agent.c | |
parent | 86fb317359da86f8b397343c66efbac0c120641d (diff) |
Reference will be kept in the application component only right now. In the future this should be expanded to the channel driver (just like all the other channel drivers) (issue #7975 reported by andrewt)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43199 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_agent.c')
-rw-r--r-- | channels/chan_agent.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/channels/chan_agent.c b/channels/chan_agent.c index 2db3faf18..18f1f6250 100644 --- a/channels/chan_agent.c +++ b/channels/chan_agent.c @@ -196,7 +196,6 @@ struct agent_pvt { char loginchan[80]; /**< channel they logged in from */ char logincallerid[80]; /**< Caller ID they had when they logged in */ struct ast_channel *chan; /**< Channel we use */ - struct ast_module_user *u; /*! reference to keep our module in memory while in use */ AST_LIST_ENTRY(agent_pvt) list; /**< Next Agent in the linked list. */ }; @@ -740,8 +739,6 @@ static int agent_hangup(struct ast_channel *ast) * as in apps/app_chanisavail.c:chanavail_exec() */ - ast_module_user_remove(p->u); - if (option_debug) ast_log(LOG_DEBUG, "Hangup called for state %s\n", ast_state2str(ast->_state)); if (p->start && (ast->_state != AST_STATE_UP)) { |