From 1ec5b2905484b7904aabb01f56c70265fb538c82 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 29 May 2006 07:42:02 +0000 Subject: More size shrinkage. --- archival/libunarchive/decompress_bunzip2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'archival/libunarchive/decompress_bunzip2.c') diff --git a/archival/libunarchive/decompress_bunzip2.c b/archival/libunarchive/decompress_bunzip2.c index 5e26ffd9f..ae96ea375 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 */ -- cgit v1.2.3