]> git.sur5r.net Git - openldap/commitdiff
ITS#7831 fix double-free
authorHoward Chu <hyc@openldap.org>
Fri, 4 Apr 2014 10:25:17 +0000 (03:25 -0700)
committerHoward Chu <hyc@openldap.org>
Fri, 4 Apr 2014 10:25:17 +0000 (03:25 -0700)
caused by c1e937c2622abd4de708c22529a89f8e914887bd (ITS#6684)

contrib/slapd-modules/autogroup/autogroup.c

index a9775610043aa7230922e65ccfa1f0f4dc55769e..5bafe2f260db188fd5524bc15df97c35cda40bf5 100644 (file)
@@ -1212,7 +1212,6 @@ autogroup_response( Operation *op, SlapReply *rs )
 
                                                                        autogroup_add_group( op, agi, group_agd, NULL, &op->o_req_ndn, 1, 1);
 
-                                                                       overlay_entry_release_ov( op, e, 0, on );
                                                                        ldap_pvt_thread_mutex_unlock( &agi->agi_mutex );
                                                                        return SLAP_CB_CONTINUE;
                                                                }