mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
fixed a use count bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user