[vlc-devel] [PATCH] picture_pool: fix double mutex_unlock if pic_lock fails
Thomas Guillem
thomas at gllm.fr
Mon Nov 3 11:22:13 CET 2014
---
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;
}
--
2.1.1
More information about the vlc-devel
mailing list