mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Use correct memory free function (ITS#4901)
This commit is contained in:
parent
fb55cd3f3c
commit
2fa94d3f7e
1 changed files with 2 additions and 2 deletions
|
|
@ -372,9 +372,9 @@ main( int argc, char **argv )
|
|||
fprintf( rejfp, "\n%s\n", rejbuf );
|
||||
}
|
||||
|
||||
if (rejfp) free( rejbuf );
|
||||
if (rejfp) ber_memfree( rejbuf );
|
||||
}
|
||||
free( rbuf );
|
||||
ber_memfree( rbuf );
|
||||
|
||||
#ifdef LDAP_X_TXN
|
||||
if( retval == 0 && txn ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue