summaryrefslogtreecommitdiffstats
path: root/libbb
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-15 04:11:43 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-15 04:11:43 (EST)
commitaf15a17a5a2476a4fd656d9e4bcdb1e134732962 (patch)
tree795c7e689dcbc41a5af5b656f4dac0aa14c7f063 /libbb
parentfc6cb6c7eef935d3dc2d19e795ca80d673974619 (diff)
malloc -> xmalloc
git-svn-id: http://opkg.googlecode.com/svn/trunk@307 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
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++)