src/server/webdav/requestparser.c

changeset 579
e10457d74fe1
parent 490
d218607f5a7e
equal deleted inserted replaced
578:eb48f716b31c 579:e10457d74fe1
192 } 192 }
193 } 193 }
194 node = node->next; 194 node = node->next;
195 } 195 }
196 196
197 cxMapDestroy(propmap); // no allocated content must be freed 197 cxMapFree(propmap); // no allocated content must be freed
198 198
199 if(ret) { 199 if(ret) {
200 // parse_prop failed 200 // parse_prop failed
201 // in this case, error is already set 201 // in this case, error is already set
202 xmlFreeDoc(doc); 202 xmlFreeDoc(doc);
355 } 355 }
356 } 356 }
357 node = node->next; 357 node = node->next;
358 } 358 }
359 359
360 cxMapDestroy(propmap); // allocated content must not be freed 360 cxMapFree(propmap); // allocated content must not be freed
361 361
362 if(set_count + remove_count == 0) { 362 if(set_count + remove_count == 0) {
363 *error = PROPPATCH_PARSER_NO_PROPERTIES; 363 *error = PROPPATCH_PARSER_NO_PROPERTIES;
364 ret = 1; 364 ret = 1;
365 } 365 }

mercurial