diff options
-rw-r--r-- | src/strlist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/strlist.c b/src/strlist.c index 69f1a94..ac9fd82 100644 --- a/src/strlist.c +++ b/src/strlist.c @@ -105,13 +105,13 @@ int strlist_append_file(struct StrList *pStrList, char *_path, ReaderFn *readerF fatal: if (from_file_tmpdir != NULL) { rmtree(from_file_tmpdir); - free(from_file_tmpdir); + guard_free(from_file_tmpdir) } if (filename != NULL) { - free(filename); + guard_free(filename) } if (path != NULL) { - free(path); + guard_free(path) } return retval; |