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

XCB/XVideo: fix memory leak

parent 1e1f0129
......@@ -565,6 +565,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