mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-07 10:28:32 +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");
|
ast_log(LOG_WARNING, "Unable to lock pcm list\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
glistcnt--;
|
||||||
ast_mutex_unlock(&pcm_lock);
|
ast_mutex_unlock(&pcm_lock);
|
||||||
ast_update_use_count();
|
ast_update_use_count();
|
||||||
close(s->fd);
|
close(s->fd);
|
||||||
|
|||||||
Reference in New Issue
Block a user