test: fix various leaks in the tests

This commit is contained in:
Peter Hutterer
2024-01-04 10:15:26 +10:00
parent 373cd80081
commit 2cee5fb36c
7 changed files with 43 additions and 2 deletions

View File

@@ -266,6 +266,8 @@ test_nt_list_append(void)
i++;
}
assert(i == 11);
free(foo);
}
static void
@@ -300,6 +302,8 @@ test_nt_list_insert(void)
i++;
}
assert(i == 11);
free(foo);
}
static void