XCB_window: memory leak
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 2 Sep 2009 16:20:12 +0000 (19:20 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 2 Sep 2009 16:20:12 +0000 (19:20 +0300)
modules/video_output/xcb/window.c

index 5c9bd4a..405cefc 100644 (file)
@@ -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;
     }