]> git.sur5r.net Git - openldap/commitdiff
ITS#6308 lock leak: must release entry using same op that acquired it
authorHoward Chu <hyc@openldap.org>
Tue, 29 Sep 2009 06:21:32 +0000 (06:21 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 29 Sep 2009 06:21:32 +0000 (06:21 +0000)
servers/slapd/overlays/dynlist.c

index 630400384e252ea4f46a33d04ec7b7640f1ae727..97d28d89a23cdf836ae9eb3fadb38be70c6c3357 100644 (file)
@@ -863,7 +863,7 @@ done:;
 
 release:;
        if ( e != NULL ) {
-               overlay_entry_release_ov( op, e, 0, on );
+               overlay_entry_release_ov( &o, e, 0, on );
        }
 
        return SLAP_CB_CONTINUE;