tests/xwayland: Don't leak XCB reply
Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
3ac2748021
commit
d0301c9a82
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue