Mesa (staging/22.1): Revert "wsi/x11: Don't leak xcb_get_geometry_reply_t."

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu Jun 23 18:04:57 UTC 2022


Module: Mesa
Branch: staging/22.1
Commit: 566409ed1241a7d70cb73fa4e50afef87fcc53bf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=566409ed1241a7d70cb73fa4e50afef87fcc53bf

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/17118>

---

 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 8bcfab852a4..6ab16b4e5e5 100644
--- a/src/vulkan/wsi/wsi_common_x11.c
+++ b/src/vulkan/wsi/wsi_common_x11.c
@@ -1555,7 +1555,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