aboutsummaryrefslogtreecommitdiffstats
path: root/channel.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-04 16:49:11 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-07-04 16:49:11 +0000
commit9afbb1e85e1a291af234c5ed9045378b2862a64b (patch)
treebef812f1643b811f4547eea6b5fbf3e60d1681a5 /channel.c
parenta5a228b39321e1d71a2a8d906f32058f4f3bfa6b (diff)
Be sure to close timing file descriptor
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1162 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channel.c')
-rwxr-xr-xchannel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/channel.c b/channel.c
index 8d5e9d8c7..4eddb9c9f 100755
--- a/channel.c
+++ b/channel.c
@@ -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) {