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>
dev
Leandro Ribeiro 3 years ago committed by Daniel Stone
parent 5911d2a762
commit b985c6bf83
  1. 1
      tests/drm-smoke-test.c

@ -67,6 +67,7 @@ TEST(drm_smoke) {
frame_callback_wait(client, &frame);
}
buffer_destroy(buffer);
client_destroy(client);
}

Loading…
Cancel
Save