ui/common/ucx_properties.c

changeset 49
2f71f4ee247a
parent 0
2483f517c562
--- a/ui/common/ucx_properties.c	Thu Oct 03 18:52:51 2024 +0200
+++ b/ui/common/ucx_properties.c	Sun Oct 06 18:18:04 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