Skip to content
Snippets Groups Projects
Commit fd1ca04d authored by Mark Spencer's avatar Mark Spencer
Browse files

Be sure to close timing file descriptor

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent c2ad77b2
Branches
Tags
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment