mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-09 07:08:07 +02:00
tests/xwayland: Don't leak XCB reply
Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
3ac2748021
commit
d0301c9a82
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue