ui/common/ucx_properties.c

branch
newapi
changeset 325
99a93a9250c4
parent 174
0358f1d9c506
--- a/ui/common/ucx_properties.c	Sun Oct 06 12:00:31 2024 +0200
+++ b/ui/common/ucx_properties.c	Sun Oct 06 12:08:40 2024 +0200
@@ -201,12 +201,12 @@
     cxstring name;
     cxstring value;
     while(ucx_properties_next(parser, &name, &value)) {
-        cxmutstr mutvalue = cx_strdup_a(map->allocator, value);
+        cxmutstr mutvalue = cx_strdup_a(map->collection.allocator, value);
         if(!mutvalue.ptr) {
             return 1;
         }
         if(cxMapPut(map, cx_hash_key_cxstr(name), mutvalue.ptr)) {
-            cxFree(map->allocator, mutvalue.ptr);
+            cxFree(map->collection.allocator, mutvalue.ptr);
             return 1;
         }
     }

mercurial