aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorInki Dae2018-03-19 22:47:33 -0500
committerEric Engestrom2018-03-20 09:14:51 -0500
commit32e0370e36e8263b1e7dfb75f76934dbfce53e9c (patch)
treee5ae2a16f419c9a5b10b24178aaff2115c246300 /meson.build
parented07718ae7bab596297abf210bb0c37c6dba58ed (diff)
downloadexternal-libgbm-32e0370e36e8263b1e7dfb75f76934dbfce53e9c.tar.gz
external-libgbm-32e0370e36e8263b1e7dfb75f76934dbfce53e9c.tar.xz
external-libgbm-32e0370e36e8263b1e7dfb75f76934dbfce53e9c.zip
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>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions