mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-02-23 01:40:43 -05:00
Add simple memory leak check to all tests.
Wrap all tests with a memory balance check to detect potential memory leaks. Fixed a few tests that had memory leaks contained in the tests themselves. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
This commit is contained in:
parent
9086b60d81
commit
a0e590a0f3
5 changed files with 37 additions and 1 deletions
|
|
@ -90,4 +90,6 @@ TEST(map_remove)
|
|||
l = wl_map_insert_new(&map, WL_MAP_SERVER_SIDE, &d);
|
||||
assert(l == WL_SERVER_ID_START + 1);
|
||||
assert(wl_map_lookup(&map, l) == &d);
|
||||
|
||||
wl_map_release(&map);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue