From b985c6bf83e010978446bb26d25c1015b9802746 Mon Sep 17 00:00:00 2001 From: Leandro Ribeiro Date: Fri, 18 Jun 2021 17:14:28 -0300 Subject: [PATCH] tests: fix leak in drm-smoke-test.c Leak found running drm-smoke-test with ASan. Do not forget to destroy the SHM buffer by the end of the test. Signed-off-by: Leandro Ribeiro --- tests/drm-smoke-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/drm-smoke-test.c b/tests/drm-smoke-test.c index 859c9739..d42ddf26 100644 --- a/tests/drm-smoke-test.c +++ b/tests/drm-smoke-test.c @@ -67,6 +67,7 @@ TEST(drm_smoke) { frame_callback_wait(client, &frame); } + buffer_destroy(buffer); client_destroy(client); }