Commit 7b29ef8d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Error handling fix

parent 9e590459
......@@ -106,6 +106,7 @@ static int Open (vlc_object_t *obj)
return VLC_ENOMEM;
vd->sys = p_sys;
p_sys->pool = NULL;
/* Connect to X */
p_sys->conn = Connect (obj);
......@@ -273,9 +274,6 @@ static int Open (vlc_object_t *obj)
xcb_create_gc (p_sys->conn, p_sys->gc, p_sys->window, 0, NULL);
msg_Dbg (vd, "using X11 graphic context %08"PRIx32, p_sys->gc);
/* */
p_sys->pool = NULL;
/* */
vout_display_info_t info = vd->info;
info.has_pictures_invalid = true;
......
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