mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
wsi/x11: Always free randr_reply in wsi_x11_connection_create
Fixes memory leak.
Fixes: b5268d532a "wsi/x11: Detect Xwayland"
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8393>
This commit is contained in:
parent
c316fbe625
commit
6286a3b4f6
1 changed files with 1 additions and 0 deletions
|
|
@ -249,6 +249,7 @@ wsi_x11_connection_create(struct wsi_device *wsi_dev,
|
|||
|
||||
free(dri3_reply);
|
||||
free(pres_reply);
|
||||
free(randr_reply);
|
||||
free(amd_reply);
|
||||
free(nv_reply);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue