mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#4403 don't unbind a NULL ld.
This commit is contained in:
parent
e18a6ab7f9
commit
05655a202c
@ -415,7 +415,8 @@ main( int argc, char *argv[] )
|
||||
|
||||
done:
|
||||
/* disconnect from server */
|
||||
tool_unbind( ld );
|
||||
if ( ld )
|
||||
tool_unbind( ld );
|
||||
tool_destroy();
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user