From: Howard Chu Date: Wed, 22 Oct 2003 07:57:25 +0000 (+0000) Subject: Fix prev commit, avoid abort when entry is NULL X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~517 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72ace288e8466aa239ff35ba9f0b296f094f8e71;p=openldap Fix prev commit, avoid abort when entry is NULL --- 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;