From a7619c4ce9b2766cd609ac1ce1d7851827e07602 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 18 Oct 2003 15:07:51 +0000 Subject: [PATCH] Return duplicated entry from entry_dup() - interesting that this was actually working when compiling without optimization --- servers/slapd/entry.c | 2 ++ 1 file changed, 2 insertions(+) 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; }