Add test suite calls for list16

Following a re-write of the list16 module to avoid memory allocation
issues, a test suite is added for the module.
This commit is contained in:
matt335672
2025-02-24 14:12:44 +00:00
parent 2f46ef27a2
commit 3cc1265adc
6 changed files with 120 additions and 0 deletions
+1
View File
@@ -66,6 +66,7 @@ list16_deinit(struct list16 *self)
if (self->items != self->mitems)
{
g_free(self->items);
self->items = self->mitems; // Prevent double=free
}
}