diff options
author | Rob Landley | 2006-05-29 07:42:02 +0000 |
---|---|---|
committer | Rob Landley | 2006-05-29 07:42:02 +0000 |
commit | 1ec5b2905484b7904aabb01f56c70265fb538c82 (patch) | |
tree | 87292bfd7e99ce26b226518e244f4a96914397f9 /archival/libunarchive/decompress_bunzip2.c | |
parent | a6e131dab39ee67522687a56b39ed815b9ae15ec (diff) | |
download | busybox-1ec5b2905484b7904aabb01f56c70265fb538c82.zip busybox-1ec5b2905484b7904aabb01f56c70265fb538c82.tar.gz |
More size shrinkage.
Diffstat (limited to 'archival/libunarchive/decompress_bunzip2.c')
-rw-r--r-- | archival/libunarchive/decompress_bunzip2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c index 5e26ffd..ae96ea3 100644 --- a/archival/libunarchive/decompress_bunzip2.c +++ b/archival/libunarchive/decompress_bunzip2.c @@ -644,8 +644,7 @@ static int start_bunzip(bunzip_data **bdp, int in_fd, unsigned char *inbuf, /* Allocate bunzip_data. Most fields initialize to zero. */ - bd=*bdp=xmalloc(i); - memset(bd,0,sizeof(bunzip_data)); + bd=*bdp=xzalloc(i); /* Setup input buffer */ |