mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
don't assume NULL is zero.
This commit is contained in:
parent
a8f7f0b3c7
commit
5310070b38
@ -426,8 +426,10 @@ int s;
|
||||
|
||||
fprintf( fp, ".\r\n" );
|
||||
rewind(fp);
|
||||
if ( ld )
|
||||
|
||||
if ( ld == NULL) {
|
||||
ldap_unbind( ld );
|
||||
}
|
||||
|
||||
exit( 1 );
|
||||
/* NOT REACHED */
|
||||
|
Loading…
Reference in New Issue
Block a user