summaryrefslogtreecommitdiffstats
path: root/libbb
diff options
context:
space:
mode:
Diffstat (limited to 'libbb')
-rw-r--r--libbb/unzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/unzip.c b/libbb/unzip.c
index 20a4d74..88d2a0a 100644
--- a/libbb/unzip.c
+++ b/libbb/unzip.c
@@ -113,7 +113,7 @@ static void make_crc_table()
/* initial shift register value */
crc = 0xffffffffL;
- crc_table = (unsigned long *) malloc(256 * sizeof(unsigned long));
+ crc_table = (unsigned long *) xmalloc(256 * sizeof(unsigned long));
/* Make exclusive-or pattern from polynomial (0xedb88320) */
for (i = 0; i < sizeof(p)/sizeof(int); i++)