dav/main.c

changeset 852
83fdf679df99
parent 849
c949c6ab5346
--- a/dav/main.c	Thu Nov 28 17:53:13 2024 +0100
+++ b/dav/main.c	Mon Jan 06 21:18:36 2025 +0100
@@ -753,7 +753,7 @@
             cxListAdd(reslist, g);
         }
     }
-    cxListDestroy(stack);
+    cxListFree(stack);
     
     // download resources
     pdata.total = totalsize;
@@ -787,7 +787,7 @@
         }
     }
     
-    cxListDestroy(reslist);
+    cxListFree(reslist);
     free(path);
     
     if(pdata.out && !pdata.isstdout) {
@@ -2411,7 +2411,7 @@
     fprintf(out, "</x0:%s>\n", root);
     
     // cleanup namespace map
-    cxMapDestroy(nsmap);
+    cxMapFree(nsmap);
 }
 
 
@@ -2675,10 +2675,10 @@
             fprintf(stderr, "Error: saving srcrets store failed.\n");
         }
         if(cxListSize(locations) == 0) {
-            cxListDestroy(locations);
+            cxListFree(locations);
         }
     } else {
-        cxListDestroy(locations);
+        cxListFree(locations);
     }
     
     if(id) free(id);

mercurial