src/server/webdav/saxhandler.cpp

changeset 48
37a512d7b8f6
parent 44
3da1f7b6847f
child 50
4d39adda7a38
--- a/src/server/webdav/saxhandler.cpp	Sun Jan 13 14:16:45 2013 +0100
+++ b/src/server/webdav/saxhandler.cpp	Sat Jan 19 20:13:07 2013 +0100
@@ -78,9 +78,10 @@
     if(!strcmp(ns, "DAV:") && !strcmp(name, "prop")) {
         davPropTag = true;
     } else if(davPropTag && property == NULL) {
-        //property = (DavProperty*)pool_malloc(pool, sizeof(DavProperty));
-        property = (DavProperty*)malloc(sizeof(DavProperty));
-        /* Ultra TODO: pool_malloc makes big mistakes!! */
+        property = (DavProperty*)pool_malloc(pool, sizeof(DavProperty));
+        //property = (DavProperty*)malloc(sizeof(DavProperty));
+        /* TODO: pool_malloc makes big mistakes!! */
+        // Fixed or not? It works
 
         size_t nslen = strlen(ns);
         size_t namelen = strlen(name);
@@ -158,7 +159,7 @@
 }
 
 ProppatchHandler::~ProppatchHandler() {
-    
+    ucx_dlist_free(xmlStack);
 }
 
 void ProppatchHandler::startElement(

mercurial