Commit 6fd55ac0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

xcb_apps: fix leaks on error

parent 8bcfc14c
......@@ -171,6 +171,7 @@ static int Open (vlc_object_t *obj)
error:
xcb_disconnect (p_sys->conn);
tdestroy (p_sys->apps, DelApp);
free (p_sys);
return VLC_EGENERIC;
}
......
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