mesa-drm/tests/kms
Inki Dae 32e0370e36 tests: fix memory leak issue
Fixed memory leak issue to drmModeRes and drmModePlaneRes objects.

These objects were allocated by drmModeGetResources and
drmModeGetPlaneResources functions but not freed properly.

So this patch frees them by calling drmModeFreeResources
drmModeFreePlaneResources functions at failure case.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
2018-03-20 14:14:51 +00:00
..
kms-steal-crtc.c tests/kms-steal-crtc: Use correct includes 2016-04-12 13:15:49 +02:00
kms-universal-planes.c tests: kms: fix shadowed declaration warning 2016-11-22 13:54:31 +00:00
libkms-test-crtc.c tests: Add libkms-test library 2015-12-18 17:44:05 +00:00
libkms-test-device.c tests: fix memory leak issue 2018-03-20 14:14:51 +00:00
libkms-test-framebuffer.c tests: Add libkms-test library 2015-12-18 17:44:05 +00:00
libkms-test-plane.c tests: Add libkms-test library 2015-12-18 17:44:05 +00:00
libkms-test-screen.c tests: Add libkms-test library 2015-12-18 17:44:05 +00:00
libkms-test.h tests: Add libkms-test library 2015-12-18 17:44:05 +00:00
Makefile.am tests: kms: Implement universal planes test 2015-12-18 17:44:10 +00:00
meson.build Add meson build system 2018-01-12 09:40:48 -08:00