fix error in previous commit

This commit is contained in:
Luke Howard 2005-07-22 05:38:32 +00:00
parent 44bb946436
commit 0b631c0d2f

View File

@ -418,13 +418,14 @@ void slapi_int_connection_destroy( Connection **pConn )
{ {
Connection *conn = *pConn; Connection *conn = *pConn;
Operation *op; Operation *op;
Slapi_PBlock *pb = SLAPI_OPERATION_PBLOCK( op ); Slapi_PBlock *pb;
if ( conn == NULL ) { if ( conn == NULL ) {
return; return;
} }
op = (Operation *)conn->c_pending_ops.stqh_first; op = (Operation *)conn->c_pending_ops.stqh_first;
pb = SLAPI_OPERATION_PBLOCK( op );
slap_graduate_commit_csn( op ); slap_graduate_commit_csn( op );