Bernhard Fischer says: use xmalloc() instead of malloc()

This commit is contained in:
Mike Frysinger
2005-08-16 05:32:42 +00:00
parent 71224980e1
commit 1eef0c4571
3 changed files with 3 additions and 3 deletions

View File

@ -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++) {