diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-16 09:32:42 +0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-16 09:32:42 +0400 |
commit | 1eef0c4571d6319e67005944b7c20307fb8f5b15 (patch) | |
tree | 47b604f693a34a36895b4cfd4cfb47ccf6e3c029 /archival/libunarchive/decompress_unzip.c | |
parent | 71224980e1a26977c0884c679a51c685ad46a44f (diff) |
Bernhard Fischer says: use xmalloc() instead of malloc()
Diffstat (limited to 'archival/libunarchive/decompress_unzip.c')
-rw-r--r-- | archival/libunarchive/decompress_unzip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index 883aaac46..3d0364339 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c @@ -176,7 +176,7 @@ static void make_gunzip_crc_table(void) /* initial shift register value */ gunzip_crc = 0xffffffffL; - gunzip_crc_table = (unsigned int *) malloc(256 * sizeof(unsigned int)); + gunzip_crc_table = (unsigned int *) xmalloc(256 * sizeof(unsigned int)); /* Compute and print table of CRC's, five per line */ for (i = 0; i < 256; i++) { |