[vlc-commits] picture_pool: fix double mutex_unlock if pic_lock fails
Thomas Guillem
git at videolan.org
Mon Nov 3 18:44:09 CET 2014
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Nov 3 11:22:13 2014 +0100| [6a493b1189ee38210ce15ac25f282aad5af3810b] | committer: Rémi Denis-Courmont
picture_pool: fix double mutex_unlock if pic_lock fails
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6a493b1189ee38210ce15ac25f282aad5af3810b
---
src/misc/picture_pool.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/misc/picture_pool.c b/src/misc/picture_pool.c
index 15d0791..dac7ef6 100644
--- a/src/misc/picture_pool.c
+++ b/src/misc/picture_pool.c
@@ -253,7 +253,6 @@ picture_t *picture_pool_Get(picture_pool_t *pool)
vlc_mutex_lock(&pool->lock);
sys->in_use = false;
pool->refs--;
- vlc_mutex_unlock(&pool->lock);
continue;
}
More information about the vlc-commits
mailing list