mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 06:13:19 -05:00
ITS#10264 Free NoD data we stored locally
This commit is contained in:
parent
2af486cf00
commit
3f6cec3b46
1 changed files with 7 additions and 0 deletions
|
|
@ -904,6 +904,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