diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-16 01:14:11 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-16 01:14:11 +0000 |
commit | 96f8953a44ced083842ca3c4f3370619be6bae26 (patch) | |
tree | e306dbc3cc1bfdb0bce5a216f516306af2b236fe /channels | |
parent | 2bd7ae1ba67ce1f9ddf5840e20719b1c6099cd1d (diff) |
Merged revisions 138361 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r138361 | jpeeler | 2008-08-15 20:13:26 -0500 (Fri, 15 Aug 2008) | 9 lines
Merged revisions 138360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r138360 | jpeeler | 2008-08-15 20:12:18 -0500 (Fri, 15 Aug 2008) | 1 line
fixes use count to properly decrement if an active dahdi channel is destroyed allowing module to be unloaded
........
................
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@138362 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_dahdi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index 135bc449b..98a1f6f20 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -7464,6 +7464,7 @@ static int dahdi_destroy_channel_bynum(int channel) int x = DAHDI_FLASH; ioctl(tmp->subs[SUB_REAL].dfd, DAHDI_HOOK, &x); /* important to create an event for dahdi_wait_event to register so that all ss_threads terminate */ destroy_channel(prev, tmp, 1); + ast_module_unref(ast_module_info->self); return RESULT_SUCCESS; } prev = tmp; |