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:
committed by
Daniel Stone
parent
5911d2a762
commit
b985c6bf83
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user