Commit 2232acd7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

XCB/XVideo: fix memory leak

(cherry picked from commit dd1ff43f888d63f9042a9a94ec6050b0523c6aa8)
parent 9cdac4d6
......@@ -566,6 +566,7 @@ static int Open (vlc_object_t *obj)
xcb_intern_atom (conn, 1, 21, "XV_AUTOPAINT_COLORKEY"), NULL);
if (r != NULL && r->atom != 0)
xcb_xv_set_port_attribute(conn, p_sys->port, r->atom, 1);
free(r);
}
/* Create cursor */
......
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