Mesa (main): Revert "wsi/x11: Don't leak xcb_get_geometry_reply_t."
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 13 18:23:44 UTC 2022
Module: Mesa
Branch: main
Commit: ee587f202e1926d9ceec167f826fd6695e6a66a4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ee587f202e1926d9ceec167f826fd6695e6a66a4
Author: Renato Pereyra <renatopereyra at google.com>
Date: Thu Jun 9 12:50:49 2022 -0700
Revert "wsi/x11: Don't leak xcb_get_geometry_reply_t."
This reverts commit 24049b8771be7bd9044e005565ab9dc327e9dd63.
Signed-off-by: Renato Pereyra <renatopereyra at chromium.org>
Reviewed-by: Yiwei Zhang <zzyiwei at chromium.org>
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16954>
---
src/vulkan/wsi/wsi_common_x11.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/vulkan/wsi/wsi_common_x11.c b/src/vulkan/wsi/wsi_common_x11.c
index 1fc44ea79e7..c02eeef6ad9 100644
--- a/src/vulkan/wsi/wsi_common_x11.c
+++ b/src/vulkan/wsi/wsi_common_x11.c
@@ -1572,7 +1572,6 @@ x11_manage_fifo_queues(void *state)
result = VK_ERROR_SURFACE_LOST_KHR;
goto fail;
}
- free(geometry);
}
}
}
More information about the mesa-commit
mailing list