dect
/
asterisk
Archived
13
0
Fork 0

chan_dect: fix module reference leak

Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
Patrick McHardy 2010-09-10 15:03:01 +02:00
parent 8496c5c07b
commit f5409cd3e9
1 changed files with 1 additions and 0 deletions

View File

@ -540,6 +540,7 @@ static int dect_hangup(struct ast_channel *chan)
chan->tech_pvt = NULL;
ast_setstate(chan, AST_STATE_DOWN);
ast_module_unref(ast_module_info->self);
return 0;
}