ITS#10264 Free NoD data we stored locally

This commit is contained in:
Ondřej Kuzník 2024-10-02 13:23:44 +01:00
parent 2af486cf00
commit 3f6cec3b46

View file

@ -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;
}