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 <leandro.ribeiro@collabora.com>
This commit is contained in:
Leandro Ribeiro
2021-06-18 17:14:28 -03:00
committed by Daniel Stone
parent 5911d2a762
commit b985c6bf83
+1
View File
@@ -67,6 +67,7 @@ TEST(drm_smoke) {
frame_callback_wait(client, &frame); frame_callback_wait(client, &frame);
} }
buffer_destroy(buffer);
client_destroy(client); client_destroy(client);
} }