summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/libunarchive/get_header_tar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c
index cf5ac6b..97536c9 100644
--- a/archival/libunarchive/get_header_tar.c
+++ b/archival/libunarchive/get_header_tar.c
@@ -185,5 +185,8 @@ extern char get_header_tar(archive_handle_t *archive_handle)
}
archive_handle->offset += file_header->size;
+ free(file_header->name);
+ free(file_header->link_name);
+
return(EXIT_SUCCESS);
}