drm/tests
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
..
amdgpu tests/amdgpu: Fix misspellings of "suite" 2018-03-02 12:19:11 +01:00
etnaviv tests/etnaviv: drop unused `return 0` 2018-01-29 15:41:52 +00:00
exynos tests/exynos: remove dead condition 2018-03-15 16:30:14 +00:00
kms tests: fix memory leak issue 2018-03-20 14:14:51 +00:00
kmstest Add meson build system 2018-01-12 09:40:48 -08:00
modeprint remove unnecessary double-semicolon 2018-01-29 15:41:52 +00:00
modetest drm/tegra: Sanitize format modifiers 2018-02-19 14:58:57 +01:00
nouveau Add meson build system 2018-01-12 09:40:48 -08:00
proptest Add meson build system 2018-01-12 09:40:48 -08:00
radeon Add meson build system 2018-01-12 09:40:48 -08:00
tegra Add meson build system 2018-01-12 09:40:48 -08:00
ttmtest Purge macro NEED_REPLIES 2010-07-01 13:12:55 -06:00
util always define HAVE_CAIRO 2018-01-29 15:41:52 +00:00
vbltest Add meson build system 2018-01-12 09:40:48 -08:00
Android.mk android: simplify the including rule of subdirs 2015-03-20 17:07:21 +00:00
Makefile.am tests: automake: reorder makefile contents 2016-12-05 17:24:32 +00:00
drmdevice.c tests/drmdevice: Add USB, platform and host1x support 2017-01-20 16:27:33 +01:00
drmsl.c drmsltest: Check expected neighbours 2017-08-21 13:05:13 +01:00
hash.c tests/hash: return non-zero on failure 2015-04-05 15:33:06 +01:00
meson.build Add meson build system 2018-01-12 09:40:48 -08:00
random.c tests/random: return non-zero on test failure 2015-04-05 15:33:33 +01:00