mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-19 14:58:32 +02:00
egl/x11: Fix memory leak when querying translated coord.
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Cc: mesa-stable
(cherry picked from commit c00ae68585)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39003>
This commit is contained in:
parent
a6f2db03cd
commit
cf3635fa07
2 changed files with 3 additions and 1 deletions
|
|
@ -1154,7 +1154,7 @@
|
|||
"description": "egl/x11: Fix memory leak when querying translated coord.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -873,6 +873,8 @@ dri2_x11_get_msc_rate(_EGLDisplay *display, _EGLSurface *surface,
|
|||
* We defaulted to the first CRTC in the list's refresh rate, earlier.
|
||||
*/
|
||||
|
||||
free(reply);
|
||||
|
||||
return EGL_TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue