Changeset 498
- Timestamp:
- Aug 13, 2014, 7:42:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-kernel/zoo_service_loader.c
r496 r498 1840 1840 int buffersize; 1841 1841 xmlNodePtr cur5=cur4->children; 1842 while(cur5!=NULL && cur5->type!=XML_ELEMENT_NODE && cur5->type!=XML_CDATA_SECTION_NODE)1842 while(cur5!=NULL && cur5->type!=XML_ELEMENT_NODE && cur5->type!=XML_CDATA_SECTION_NODE) 1843 1843 cur5=cur5->next; 1844 if(cur5 ->type!=XML_CDATA_SECTION_NODE){1844 if(cur5!=NULL && cur5->type!=XML_CDATA_SECTION_NODE){ 1845 1845 xmlDocSetRootElement(doc1,cur5); 1846 1846 xmlDocDumpFormatMemoryEnc(doc1, &mv, &buffersize, "utf-8", 1); … … 1851 1851 } 1852 1852 } 1853 addToMap(tmpmaps->content,"value",(char*)mv); 1854 xmlFree(mv); 1853 if(mv!=NULL){ 1854 addToMap(tmpmaps->content,"value",(char*)mv); 1855 xmlFree(mv); 1856 } 1855 1857 }else{ 1856 1858 xmlChar* tmp=xmlNodeListGetRawString(doc,cur4->xmlChildrenNode,0);
Note: See TracChangeset
for help on using the changeset viewer.