Skip to content
Commit 6a7d1329 authored by Seung-Woo Kim's avatar Seung-Woo Kim Committed by Emil Velikov
Browse files

tests/libkms-test-plane: fix possbile memory leak



The pointer p aquired with drmModeGetPlane() is not free in error
path. Fix possible memory leak by calling drmModeFreePlane() in
the error path.

Reviewed-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Signed-off-by: default avatarSeung-Woo Kim <sw0312.kim@samsung.com>
parent 357ef598
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