summaryrefslogtreecommitdiffstats
path: root/include/plist
diff options
context:
space:
mode:
authorGravatar Frederik Carlier2016-03-26 15:30:28 +0100
committerGravatar Nikias Bassen2016-04-20 14:18:46 +0200
commit6ab7e301f1854fd18891ddfeaa64e7485be990ba (patch)
treeb895af9cd1f73235f85bc1b67d450e2fbd590d6e /include/plist
parent275cfcd5ac317185c9f3d8156c357df5f8155c37 (diff)
downloadlibplist-6ab7e301f1854fd18891ddfeaa64e7485be990ba.tar.gz
libplist-6ab7e301f1854fd18891ddfeaa64e7485be990ba.tar.bz2
Move libxml cleanup code to a plist_cleanup method
Diffstat (limited to 'include/plist')
-rw-r--r--include/plist/plist.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/plist/plist.h b/include/plist/plist.h
index c66545a..acd1c4d 100644
--- a/include/plist/plist.h
+++ b/include/plist/plist.h
@@ -113,6 +113,19 @@ extern "C"
/********************************************
* *
+ * Library Initialization & Cleanup *
+ * *
+ ********************************************/
+
+ /**
+ * Frees memory used globally by listplist, in
+ * particular the libxml parser
+ */
+
+ void plist_cleanup(void);
+
+ /********************************************
+ * *
* Creation & Destruction *
* *
********************************************/