[vlc-commits] XCB/XVideo: fix memory leak
Rémi Denis-Courmont
git at videolan.org
Fri Dec 7 21:12:07 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Dec 7 22:11:53 2012 +0200| [dd1ff43f888d63f9042a9a94ec6050b0523c6aa8] | committer: Rémi Denis-Courmont
XCB/XVideo: fix memory leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dd1ff43f888d63f9042a9a94ec6050b0523c6aa8
---
modules/video_output/xcb/xvideo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/xcb/xvideo.c b/modules/video_output/xcb/xvideo.c
index 54b4090..fedb271 100644
--- a/modules/video_output/xcb/xvideo.c
+++ b/modules/video_output/xcb/xvideo.c
@@ -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 */
More information about the vlc-commits
mailing list