paranoid check

This commit is contained in:
Pierangelo Masarati 2005-07-16 15:37:01 +00:00
parent d0d98451ce
commit 5e84975adf

View File

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