src/properties.c

changeset 1319
aa1f580f8f59
parent 1318
12fa1d37fe48
--- a/src/properties.c	Thu May 15 16:02:54 2025 +0200
+++ b/src/properties.c	Thu May 15 16:12:09 2025 +0200
@@ -287,7 +287,7 @@
         cx_attr_unused CxProperties *prop,
         CxPropertiesSource *src
 ) {
-    src->data_ptr = cxMalloc(cxDefaultAllocator, src->data_size);
+    src->data_ptr = cxMallocDefault(src->data_size);
     if (src->data_ptr == NULL) return 1;
     return 0;
 }
@@ -296,7 +296,7 @@
         cx_attr_unused CxProperties *prop,
         CxPropertiesSource *src
 ) {
-    cxFree(cxDefaultAllocator, src->data_ptr);
+    cxFreeDefault(src->data_ptr);
 }
 
 CxPropertiesSource cxPropertiesStringSource(cxstring str) {

mercurial