diff --git a/src/xserver-launcher.c b/src/xserver-launcher.c index 5e44598e..ae53009c 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