mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Don't use the `return value' from void free()
This commit is contained in:
parent
00bdddf4cc
commit
71ad63f926
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue