From 6ab7e301f1854fd18891ddfeaa64e7485be990ba Mon Sep 17 00:00:00 2001 From: Frederik Carlier Date: Sat, 26 Mar 2016 15:30:28 +0100 Subject: Move libxml cleanup code to a plist_cleanup method --- include/plist/plist.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'include') 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 @@ -111,6 +111,19 @@ extern "C" } plist_type; + /******************************************** + * * + * Library Initialization & Cleanup * + * * + ********************************************/ + + /** + * Frees memory used globally by listplist, in + * particular the libxml parser + */ + + void plist_cleanup(void); + /******************************************** * * * Creation & Destruction * -- cgit v1.1-32-gdbae