From f6f367fda6113ca53f84b4eb27273b027f05559d Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Wed, 27 Jul 2005 09:13:30 +0000 Subject: [PATCH] pb in slapi_op_func was freed uninitialized if preop_type==0 && !internal_op --- servers/slapd/slapi/slapi_overlay.c | 1 + 1 file changed, 1 insertion(+) 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; }