Skip to content
Commit 32e0370e authored by Inki Dae's avatar Inki Dae Committed by Eric Engestrom
Browse files

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: default avatarInki Dae <inki.dae@samsung.com>
Reviewed-by: default avatarEric Engestrom <eric.engestrom@imgtec.com>
parent ed07718a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment