libidav/xml.c

changeset 117
b174e721663e
parent 113
dde28a806552
equal deleted inserted replaced
116:376ef91111f6 117:b174e721663e
61 const CxAllocator *a = sn->mp->allocator; 61 const CxAllocator *a = sn->mp->allocator;
62 62
63 ConvXmlElm ce; 63 ConvXmlElm ce;
64 ce.node = node; 64 ce.node = node;
65 ce.parent = NULL; 65 ce.parent = NULL;
66 CxList *stack = cxLinkedListCreate(cxDefaultAllocator, NULL, sizeof(ConvXmlElm)); 66 CxList *stack = cxLinkedListCreate(cxDefaultAllocator, sizeof(ConvXmlElm));
67 if(!stack) { 67 if(!stack) {
68 return NULL; 68 return NULL;
69 } 69 }
70 cxListInsert(stack, 0, &ce); 70 cxListInsert(stack, 0, &ce);
71 71

mercurial