fixed a use count bug

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Anthony Minessale II 21 years ago
parent 7ede296efd
commit 03cd30b746

@ -108,6 +108,7 @@ static void pcm_close(struct ast_filestream *s)
ast_log(LOG_WARNING, "Unable to lock pcm list\n");
return;
}
glistcnt--;
ast_mutex_unlock(&pcm_lock);
ast_update_use_count();
close(s->fd);

Loading…
Cancel
Save