summaryrefslogtreecommitdiff
path: root/archival/libunarchive/init_handle.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-11-21 00:55:46 +0000
committerDenis Vlasenko2006-11-21 00:55:46 +0000
commit3eb91c2e3594f379f357bfcc85105b6b76a11781 (patch)
tree1c53c50828d9d75945eaeaad00be45999c7a17e0 /archival/libunarchive/init_handle.c
parent5d148e2646874a6f460402f2dd70ea2fb6be08dd (diff)
downloadbusybox-3eb91c2e3594f379f357bfcc85105b6b76a11781.zip
busybox-3eb91c2e3594f379f357bfcc85105b6b76a11781.tar.gz
cpio: (allegedly) fix bug 0001095:
"cpio hardlink support and possible memory leak fix"
Diffstat (limited to 'archival/libunarchive/init_handle.c')
-rw-r--r--archival/libunarchive/init_handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/init_handle.c b/archival/libunarchive/init_handle.c
index 06e8d1f..309d329 100644
--- a/archival/libunarchive/init_handle.c
+++ b/archival/libunarchive/init_handle.c
@@ -12,7 +12,7 @@ archive_handle_t *init_handle(void)
/* Initialize default values */
archive_handle = xzalloc(sizeof(archive_handle_t));
- archive_handle->file_header = xmalloc(sizeof(file_header_t));
+ archive_handle->file_header = xzalloc(sizeof(file_header_t));
archive_handle->action_header = header_skip;
archive_handle->action_data = data_skip;
archive_handle->filter = filter_accept_all;