Skip to content
Snippets Groups Projects
Commit 5e84975a authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

paranoid check

parent d0d98451
Branches
Tags
No related merge requests found
......@@ -612,6 +612,7 @@ void
ldap_free_request_int( LDAP *ld, LDAPRequest *lr )
{
if ( lr->lr_prev == NULL ) {
assert( ld->ld_requests == lr );
ld->ld_requests = lr->lr_next;
} else {
lr->lr_prev->lr_next = lr->lr_next;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment