summaryrefslogtreecommitdiffstats
path: root/src/plist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plist.c')
-rw-r--r--src/plist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plist.c b/src/plist.c
index d78f748..19279ed 100644
--- a/src/plist.c
+++ b/src/plist.c
@@ -1692,6 +1692,7 @@ plist_err_t plist_write_to_stream(plist_t plist, FILE *stream, plist_format_t fo
if (fwrite(output, 1, length, stream) < length) {
err = PLIST_ERR_IO;
}
+ free(output);
}
return err;
}