]> git.sur5r.net Git - openldap/commitdiff
fix error in previous commit
authorLuke Howard <lukeh@openldap.org>
Fri, 22 Jul 2005 05:38:32 +0000 (05:38 +0000)
committerLuke Howard <lukeh@openldap.org>
Fri, 22 Jul 2005 05:38:32 +0000 (05:38 +0000)
servers/slapd/slapi/slapi_ops.c

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