wsi/x11: fix memleak in wsi_x11_connection_create()
Fixes: bbdf7e45b1
("wsi/x11: Hook up KHR_incremental_present")
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18177>
This commit is contained in:

committed by
Marge Bot

parent
9573b24ab4
commit
20fba14f2c
@@ -343,6 +343,7 @@ wsi_x11_connection_create(struct wsi_device *wsi_dev,
|
||||
free(xwl_reply);
|
||||
free(amd_reply);
|
||||
free(nv_reply);
|
||||
free(xfixes_reply);
|
||||
if (wants_shm)
|
||||
free(shm_reply);
|
||||
|
||||
|
Reference in New Issue
Block a user