mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
ITS#3981 ch_realloc( addr, 0 ) frees addr, return NULL
This commit is contained in:
parent
ba39e3fe00
commit
c8f977e1b7
1 changed files with 1 additions and 0 deletions
|
|
@ -75,6 +75,7 @@ ch_realloc(
|
|||
|
||||
if( size == 0 ) {
|
||||
ch_free( block );
|
||||
return NULL;
|
||||
}
|
||||
|
||||
ctx = slap_sl_context( block );
|
||||
|
|
|
|||
Loading…
Reference in a new issue