Commit 6a493b11 authored by Thomas Guillem's avatar Thomas Guillem Committed by Rémi Denis-Courmont

picture_pool: fix double mutex_unlock if pic_lock fails

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent fef26a45
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment