summaryrefslogtreecommitdiffstats
path: root/src/xplist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xplist.c')
-rw-r--r--src/xplist.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xplist.c b/src/xplist.c
index 0cf4663..fa6bb6d 100644
--- a/src/xplist.c
+++ b/src/xplist.c
@@ -531,6 +531,11 @@ PLIST_API void plist_to_xml(plist_t plist, char **plist_xml, uint32_t * length)
str_buf_free(outbuf);
}
+PLIST_API void plist_to_xml_free(char *plist_xml)
+{
+ free(plist_xml);
+}
+
struct _parse_ctx {
const char *pos;
const char *end;