mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
fix one-time leak (non critical)
This commit is contained in:
parent
7681642bcf
commit
416a544a9e
1 changed files with 8 additions and 0 deletions
|
|
@ -251,6 +251,14 @@ tool_destroy( void )
|
|||
pr_cookie.bv_val = NULL;
|
||||
pr_cookie.bv_len = 0;
|
||||
}
|
||||
|
||||
if ( binddn != NULL ) {
|
||||
ber_memfree( binddn );
|
||||
}
|
||||
|
||||
if ( passwd.bv_val != NULL ) {
|
||||
ber_memfree( passwd.bv_val );
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue