Commit fa5c2922 authored by Hannes Domani's avatar Hannes Domani Committed by Petri Hintukainen

bluray: fix memory leak

parent 89f3b017
......@@ -211,7 +211,7 @@ struct subpicture_updater_sys_t
static void unref_subpicture_updater(subpicture_updater_sys_t *p_sys)
{
vlc_mutex_lock(&p_sys->lock);
int refs = p_sys->ref_cnt--;
int refs = --p_sys->ref_cnt;
p_sys->p_overlay = NULL;
vlc_mutex_unlock(&p_sys->lock);
......
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