mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Don't use the `return value' from void free()
This commit is contained in:
parent
00bdddf4cc
commit
71ad63f926
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user