From: Mark Spencer Date: Fri, 4 Jul 2003 16:49:11 +0000 (+0000) Subject: Be sure to close timing file descriptor X-Git-Tag: 0.5.0~334 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fd1ca04d76645bb192fecd84a8e8fb3dfcce91d3;p=thirdparty%2Fasterisk.git Be sure to close timing file descriptor git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1162 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channel.c b/channel.c index 8d5e9d8c75..4eddb9c9f7 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) {