tests/test_properties.c

changeset 993
b642eca4b956
parent 972
a9a1d07a6840
child 1031
8a90552bba29
--- a/tests/test_properties.c	Tue Nov 26 22:00:03 2024 +0100
+++ b/tests/test_properties.c	Tue Nov 26 22:16:27 2024 +0100
@@ -440,7 +440,7 @@
         char *v = cxMapGet(map, "key1");
         CX_TEST_ASSERT(!strcmp(v, "value1"));
 
-        cxMapDestroy(map);
+        cxMapFree(map);
         cxPropertiesDestroy(&prop);
 
         CX_TEST_ASSERT(cx_testing_allocator_verify(&talloc));
@@ -513,7 +513,7 @@
 
         free(long_key);
         free(long_value);
-        cxMapDestroy(map);
+        cxMapFree(map);
         cxPropertiesDestroy(&prop);
 
         CX_TEST_ASSERT(cx_testing_allocator_verify(&talloc));

mercurial