From 72ace288e8466aa239ff35ba9f0b296f094f8e71 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 22 Oct 2003 07:57:25 +0000 Subject: [PATCH] Fix prev commit, avoid abort when entry is NULL --- servers/slapd/syncrepl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 248ff32658..591a42c433 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -465,7 +465,7 @@ do_syncrepl( if ( modlist ) { slap_mods_free( modlist ); } - if ( rc_efree ) { + if ( rc_efree && entry ) { entry_free( entry ); } break; -- 2.39.5