mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 18:18:06 -05:00
ITS#10264 Free NoD data we stored locally
This commit is contained in:
parent
3f8fc66776
commit
39c97c8ad0
1 changed files with 7 additions and 0 deletions
|
|
@ -898,6 +898,13 @@ nextresp2:
|
|||
|
||||
if ( lr != &dummy_lr ) {
|
||||
ldap_return_request( ld, lr, 1 );
|
||||
} else {
|
||||
if ( lr->lr_res_matched ) {
|
||||
LDAP_FREE( lr->lr_res_matched );
|
||||
}
|
||||
if ( lr->lr_res_error ) {
|
||||
LDAP_FREE( lr->lr_res_error );
|
||||
}
|
||||
}
|
||||
lr = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue