From: graham.gower Date: Sun, 15 Nov 2009 09:11:43 +0000 (+0000) Subject: malloc -> xmalloc X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=af15a17a5a2476a4fd656d9e4bcdb1e134732962;p=oweals%2Fopkg-lede.git malloc -> xmalloc git-svn-id: http://opkg.googlecode.com/svn/trunk@307 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358 --- 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++)