[PATCH libdrm] tests/libkms-test-plane: fix possbile memory leak

Emil Velikov emil.l.velikov at gmail.com
Thu Apr 25 10:15:55 UTC 2019


On Thu, 25 Apr 2019 at 10:49, Seung-Woo Kim <sw0312.kim at samsung.com> wrote:
>
> The pointer p aquired with drmModeGetPlane() is not free in error
> path. Fix possible memory leak by calling drmModeFreePlane() in
> the error path.
>
> Signed-off-by: Seung-Woo Kim <sw0312.kim at samsung.com>

Reviewed-by: Emil Velikov <emil.velikov at collabora.com>

and pushed to master.

Thanks
Emil


More information about the dri-devel mailing list