diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-18 00:58:00 +0300 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2003-11-18 00:58:00 +0300 |
commit | f074afc2a0c5946544fc15da15733467e7c585f5 (patch) | |
tree | 19a847aa11a10e1b0db2cb55321ee4f8413640e7 /archival | |
parent | cccf49fb0fa7776373061ddf3e3e07e2ab9194b1 (diff) |
Dont free filename, its needed in the extracted files list.
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libunarchive/get_header_tar.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/archival/libunarchive/get_header_tar.c b/archival/libunarchive/get_header_tar.c index 97536c988..5354af8d7 100644 --- a/archival/libunarchive/get_header_tar.c +++ b/archival/libunarchive/get_header_tar.c @@ -179,13 +179,12 @@ extern char get_header_tar(archive_handle_t *archive_handle) archive_handle->action_header(archive_handle->file_header); archive_handle->flags |= ARCHIVE_EXTRACT_QUIET; archive_handle->action_data(archive_handle); - archive_handle->passed = llist_add_to(archive_handle->passed, archive_handle->file_header->name); + archive_handle->passed = llist_add_to(archive_handle->passed, file_header->name); } else { data_skip(archive_handle); } archive_handle->offset += file_header->size; - free(file_header->name); free(file_header->link_name); return(EXIT_SUCCESS); |