tests/xwayland: Don't leak XCB reply

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone 2023-04-18 14:05:03 +01:00
parent 3ac2748021
commit d0301c9a82
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ get_wm_name(struct window_x11 *window)
xcb_window_t wm_id = *(xcb_window_t *) xcb_get_property_value(reply);
wm_name = get_x11_window_name(window, wm_id);
free(reply);
free(error);
return wm_name;