From a632038df9c4889ddae6407524f9bf76cd028396 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 2 May 2003 13:24:44 +0000 Subject: [PATCH] Entry *e could be freed uninitialized after goto return_results; --- servers/slapd/back-bdb/compare.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/compare.c b/servers/slapd/back-bdb/compare.c index 3c650cae32..e3323b4d3a 100644 --- a/servers/slapd/back-bdb/compare.c +++ b/servers/slapd/back-bdb/compare.c @@ -17,7 +17,7 @@ int bdb_compare( Operation *op, SlapReply *rs ) { struct bdb_info *bdb = (struct bdb_info *) op->o_bd->be_private; - Entry *e; + Entry *e = NULL; EntryInfo *ei; Attribute *a; int manageDSAit = get_manageDSAit( op ); -- 2.39.5