summaryrefslogtreecommitdiffstats
path: root/src/file_zip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_zip.c')
-rw-r--r--src/file_zip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/file_zip.c b/src/file_zip.c
index c59047f..8223281 100644
--- a/src/file_zip.c
+++ b/src/file_zip.c
@@ -161,6 +161,7 @@ static int zip_parse_file_entry(file_recovery_t *fr)
#ifdef DEBUG_ZIP
log_trace("zip: Unexpected EOF in file_entry header: %u bytes expected\n", len);
#endif
+ free(filename);
return -1;
}
filename[len]='\0';