diff options
Diffstat (limited to 'src/xplist.c')
| -rw-r--r-- | src/xplist.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/xplist.c b/src/xplist.c index 09c1a11..e0a76da 100644 --- a/src/xplist.c +++ b/src/xplist.c | |||
| @@ -573,15 +573,6 @@ PLIST_API void plist_to_xml(plist_t plist, char **plist_xml, uint32_t * length) | |||
| 573 | tmp = NULL; | 573 | tmp = NULL; |
| 574 | } | 574 | } |
| 575 | xmlFreeDoc(plist_doc); | 575 | xmlFreeDoc(plist_doc); |
| 576 | |||
| 577 | |||
| 578 | /* free memory from parser initialization */ | ||
| 579 | xmlCleanupCharEncodingHandlers(); | ||
| 580 | xmlDictCleanup(); | ||
| 581 | xmlResetLastError(); | ||
| 582 | xmlCleanupGlobals(); | ||
| 583 | xmlCleanupThreads(); | ||
| 584 | xmlCleanupMemory(); | ||
| 585 | } | 576 | } |
| 586 | 577 | ||
| 587 | static xmlParserInputPtr plist_xml_external_entity_loader(const char *URL, const char *ID, xmlParserCtxtPtr ctxt) | 578 | static xmlParserInputPtr plist_xml_external_entity_loader(const char *URL, const char *ID, xmlParserCtxtPtr ctxt) |
| @@ -602,12 +593,4 @@ PLIST_API void plist_from_xml(const char *plist_xml, uint32_t length, plist_t * | |||
| 602 | xml_to_node(root_node, plist); | 593 | xml_to_node(root_node, plist); |
| 603 | xmlFreeDoc(plist_doc); | 594 | xmlFreeDoc(plist_doc); |
| 604 | } | 595 | } |
| 605 | |||
| 606 | /* free memory from parser initialization */ | ||
| 607 | xmlCleanupCharEncodingHandlers(); | ||
| 608 | xmlDictCleanup(); | ||
| 609 | xmlResetLastError(); | ||
| 610 | xmlCleanupGlobals(); | ||
| 611 | xmlCleanupThreads(); | ||
| 612 | xmlCleanupMemory(); | ||
| 613 | } | 596 | } |
