mesa/src/egl
Patrick Lerda f9401a515a egl: fix memory leak related to _eglRefreshDeviceList()
Indeed, the unnecessary drmDevice objects were not freed.

For instance, this issue could be triggered with: "piglit/bin/egl_ext_platform_device -auto -fbo":
SUMMARY: AddressSanitizer: 2796 byte(s) leaked in 12 allocation(s).

Fixes: e39d72aec2 ("egl: only take render nodes into account when listing DRM devices")
Signed-off-by: Patrick Lerda <patrick9876@free.fr>
Reviewed-by: Eric Engestrom <eric@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22408>
2023-04-11 15:48:26 +00:00
..
drivers dri2/android: Bypass throttling 2023-03-30 18:46:04 +00:00
generate
main egl: fix memory leak related to _eglRefreshDeviceList() 2023-04-11 15:48:26 +00:00
wayland
egl-entrypoint-check.py
egl-glvnd-symbols.txt
egl-symbols.txt egl/dri2: Implement the new flush method 2022-11-02 18:11:41 +00:00
meson.build egl: don't expose swrast device if swrast is not built 2023-03-22 18:23:37 +00:00