mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-07-21 10:44:25 +00:00
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:
parent
5911d2a762
commit
b985c6bf83
|
@ -67,6 +67,7 @@ TEST(drm_smoke) {
|
|||
frame_callback_wait(client, &frame);
|
||||
}
|
||||
|
||||
buffer_destroy(buffer);
|
||||
client_destroy(client);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue