]> git.sur5r.net Git - openldap/commitdiff
The add routine in the backend already frees the entry in error, so
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Thu, 30 Mar 2000 13:14:42 +0000 (13:14 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Thu, 30 Mar 2000 13:14:42 +0000 (13:14 +0000)
avoid trying to free it again.

servers/slapd/add.c

index ed710f0afaee49e9b17270b7ecc10b44324d9451..0b5a522a803e18b5b77b10d79f72fd16e86787c5 100644 (file)
@@ -261,8 +261,8 @@ do_add( Connection *conn, Operation *op )
                                        replog( be, op, e->e_dn, e );
                                }
                                be_entry_release_w( be, e );
-                               e = NULL;
                        }
+                       e = NULL;
 
 #ifndef SLAPD_MULTIMASTER
                } else {