Don't use the `return value' from void free()

This commit is contained in:
Hallvard Furuseth 1998-11-20 11:40:06 +00:00
parent 00bdddf4cc
commit 71ad63f926

View File

@ -578,7 +578,7 @@ Malloc( unsigned int size )
void
Free( void *ptr )
{
#ifndef STDC_HEADERS
#if 0
if (free(ptr) < 0) {
perror("free");
exit(-1);