diff options
author | Mark Spencer <markster@digium.com> | 2003-07-04 16:49:11 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2003-07-04 16:49:11 +0000 |
commit | fd1ca04d76645bb192fecd84a8e8fb3dfcce91d3 (patch) | |
tree | bef812f1643b811f4547eea6b5fbf3e60d1681a5 | |
parent | c2ad77b27fb0c565a2a2e71b7b6b2592332f4f01 (diff) |
Be sure to close timing file descriptor
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-x | channel.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -548,6 +548,8 @@ void ast_channel_free(struct ast_channel *chan) close(fd); if ((fd = chan->pvt->alertpipe[1]) > -1) close(fd); + if ((fd = chan->timingfd) > -1) + close(fd); f = chan->pvt->readq; chan->pvt->readq = NULL; while(f) { |