[vlc-devel] commit: XCB_window: memory leak ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Sep 2 18:24:35 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Sep  2 19:20:12 2009 +0300| [5a1a5945635c23205838863adc20f3db7d3d8ae4] | committer: Rémi Denis-Courmont 

XCB_window: memory leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a1a5945635c23205838863adc20f3db7d3d8ae4
---

 modules/video_output/xcb/window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/xcb/window.c b/modules/video_output/xcb/window.c
index 5c9bd4a..405cefc 100644
--- a/modules/video_output/xcb/window.c
+++ b/modules/video_output/xcb/window.c
@@ -237,6 +237,7 @@ static int Open (vlc_object_t *obj)
     if (err)
     {
         msg_Err (wnd, "creating window: X11 error %d", err->error_code);
+        free (err);
         goto error;
     }
 




More information about the vlc-devel mailing list