libidav/versioning.c

changeset 101
7b3a3130be44
parent 1
b5bb7b3cd597
equal deleted inserted replaced
100:d2bd73d28ff1 101:7b3a3130be44
156 if(proplist) { 156 if(proplist) {
157 CxIterator i = cxListIterator(proplist); 157 CxIterator i = cxListIterator(proplist);
158 cx_foreach(DavProperty*, p, i) { 158 cx_foreach(DavProperty*, p, i) {
159 free(p->name); 159 free(p->name);
160 } 160 }
161 cxListDestroy(proplist); 161 cxListFree(proplist);
162 } 162 }
163 163
164 if(error && versions) { 164 if(error && versions) {
165 DavResource *cur = versions; 165 DavResource *cur = versions;
166 while(cur) { 166 while(cur) {

mercurial