diff options
author | Daniel Stone <daniels@collabora.com> | 2023-04-18 14:05:03 +0100 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2023-04-19 10:17:19 +0100 |
commit | d0301c9a82227e0490115d1b58ca6cb95f683c1b (patch) | |
tree | 2229a25542593aad4d82bafb06903905c5fad85c /tests | |
parent | 3ac27480210c0460cb72f4957a09886fcdcd8a5d (diff) | |
download | weston-d0301c9a82227e0490115d1b58ca6cb95f683c1b.tar.gz |
tests/xwayland: Don't leak XCB reply
Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/xwayland-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/xwayland-test.c b/tests/xwayland-test.c index 0ebbc9b9..693be2d0 100644 --- a/tests/xwayland-test.c +++ b/tests/xwayland-test.c @@ -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; |