diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-04 16:49:11 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2003-07-04 16:49:11 +0000 |
commit | 9afbb1e85e1a291af234c5ed9045378b2862a64b (patch) | |
tree | bef812f1643b811f4547eea6b5fbf3e60d1681a5 /channel.c | |
parent | a5a228b39321e1d71a2a8d906f32058f4f3bfa6b (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-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) { |