From 2459fd656366ae47f4450e638d17c219b5af0f05 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Mon, 21 May 2012 14:08:23 -0400 Subject: [PATCH] xwm: Don't leak render format reply Spotted by psychon on irc. --- src/xserver-launcher.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xserver-launcher.c b/src/xserver-launcher.c index 5e44598..ae53009 100644 --- a/src/xserver-launcher.c +++ b/src/xserver-launcher.c @@ -1612,6 +1612,8 @@ wxs_wm_get_resources(struct weston_wm *wm) if (formats[i].type == XCB_RENDER_PICT_TYPE_DIRECT && formats[i].depth == 24) wm->render_format = formats[i]; + + free(formats_reply); } static void -- 2.7.4