From: Hallvard Furuseth Date: Wed, 27 Jul 2005 09:13:30 +0000 (+0000) Subject: pb in slapi_op_func was freed uninitialized if preop_type==0 && !internal_op X-Git-Tag: OPENLDAP_AC_BP~180 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f6f367fda6113ca53f84b4eb27273b027f05559d;p=openldap pb in slapi_op_func was freed uninitialized if preop_type==0 && !internal_op --- diff --git a/servers/slapd/slapi/slapi_overlay.c b/servers/slapd/slapi/slapi_overlay.c index 4521054a5a..a898892891 100644 --- a/servers/slapd/slapi/slapi_overlay.c +++ b/servers/slapd/slapi/slapi_overlay.c @@ -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; }