]> git.sur5r.net Git - openldap/commit
Undo slapd/add.c rev 1.54; back-bdb2 and back-ldbm were the only backends
authorHoward Chu <hyc@openldap.org>
Wed, 10 May 2000 16:36:46 +0000 (16:36 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 10 May 2000 16:36:46 +0000 (16:36 +0000)
commitdcad3d956996051178e67df266a2d300a3413f94
tree179dd3be65ef62b98027bc34bc3398479ba4b594
parent9842b8fa873cb30059af03245fc8a38c70ef5931
Undo slapd/add.c rev 1.54; back-bdb2 and back-ldbm were the only backends
that called entry_free() on failure. This change would cause a memory leak
from all the other backends. Instead, remove the entry_free calls in these
two backends and let the frontend take care of it for everyone.
servers/slapd/add.c
servers/slapd/back-bdb2/add.c
servers/slapd/back-ldbm/add.c