From: Luke Howard Date: Sat, 18 Oct 2003 15:07:51 +0000 (+0000) Subject: Return duplicated entry from entry_dup() - interesting that X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~549 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a7619c4ce9b2766cd609ac1ce1d7851827e07602;p=openldap Return duplicated entry from entry_dup() - interesting that this was actually working when compiling without optimization --- diff --git a/servers/slapd/entry.c b/servers/slapd/entry.c index 835089c6e0..35e3cd47dc 100644 --- a/servers/slapd/entry.c +++ b/servers/slapd/entry.c @@ -760,5 +760,7 @@ Entry *entry_dup( Entry *e ) ret->e_bv.bv_val = NULL; ret->e_bv.bv_len = 0; ret->e_private = NULL; + + return ret; }