diff options
author | Anthony Minessale II <anthmct@yahoo.com> | 2004-08-25 18:30:51 +0000 |
---|---|---|
committer | Anthony Minessale II <anthmct@yahoo.com> | 2004-08-25 18:30:51 +0000 |
commit | 03cd30b746bd6ec0c1883da7e60a820ddcbd553e (patch) | |
tree | de32a8e841ce1004fc9331928f608c6a01ebd513 /formats | |
parent | 7ede296efd836f01e3df227dd8b2f51e4039b8ee (diff) |
fixed a use count bug
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'formats')
-rwxr-xr-x | formats/format_pcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/formats/format_pcm.c b/formats/format_pcm.c index 3c1cbe3cb..a3ad65143 100755 --- a/formats/format_pcm.c +++ b/formats/format_pcm.c @@ -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); |