aboutsummaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2017-12-29 15:56:39 +0100
committerDominique Martinet <asmadeus@codewreck.org>2017-12-29 15:56:47 +0100
commitf8a346380c8d22a11c5acf72b74e35a6dca4f5a2 (patch)
tree41870325183e677833e5f8d5f5800256aaad2e8e /xwayland
parentdad9543c510ac9075533a7de9e8b315bd17b3b9c (diff)
xwayland xwm_get_render_format: free reply
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/xwm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xwayland/xwm.c b/xwayland/xwm.c
index 0b9ffac2..facc5566 100644
--- a/xwayland/xwm.c
+++ b/xwayland/xwm.c
@@ -1274,10 +1274,12 @@ static void xwm_get_render_format(struct wlr_xwm *xwm) {
if (format == NULL) {
wlr_log(L_DEBUG, "No 32 bit render format");
+ free(reply);
return;
}
xwm->render_format_id = format->id;
+ free(reply);
}
void xwm_set_cursor(struct wlr_xwm *xwm, const uint8_t *pixels, uint32_t stride,