mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix error in previous commit
This commit is contained in:
parent
44bb946436
commit
0b631c0d2f
@ -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 );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user