]> git.sur5r.net Git - openldap/commitdiff
pb in slapi_op_func was freed uninitialized if preop_type==0 && !internal_op
authorHallvard Furuseth <hallvard@openldap.org>
Wed, 27 Jul 2005 09:13:30 +0000 (09:13 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Wed, 27 Jul 2005 09:13:30 +0000 (09:13 +0000)
servers/slapd/slapi/slapi_overlay.c

index 4521054a5a86a8a6a499ce1a9e0024c8089a4c4b..a898892891a514ecb04617c5e8baed8101ca6b5b 100644 (file)
@@ -563,6 +563,7 @@ slapi_op_func( Operation *op, SlapReply *rs )
 
        if ( preop_type == 0 ) {
                /* no SLAPI plugin types for this operation */
+               pb = NULL;
                rc = SLAP_CB_CONTINUE;
                goto cleanup;
        }