xwm: Don't leak render format reply

Spotted by psychon on irc.
This commit is contained in:
Kristian Høgsberg
2012-05-21 14:08:23 -04:00
parent a416fa15d5
commit 2459fd6563
+2
View File
@@ -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