[BusyBox-cvs] busybox/archival/libunarchive get_header_tar.c, 1.26, 1.27
Glenn McGrath
bug1 at busybox.net
Mon Nov 17 21:58:06 UTC 2003
Update of /var/cvs/busybox/archival/libunarchive
In directory winder:/tmp/cvs-serv12071/archival/libunarchive
Modified Files:
get_header_tar.c
Log Message:
Dont free filename, its needed in the extracted files list.
Index: get_header_tar.c
===================================================================
RCS file: /var/cvs/busybox/archival/libunarchive/get_header_tar.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- get_header_tar.c 15 Nov 2003 00:24:43 -0000 1.26
+++ get_header_tar.c 17 Nov 2003 21:58:00 -0000 1.27
@@ -179,13 +179,12 @@
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);
More information about the busybox-cvs
mailing list