From: Quanah Gibson-Mount Date: Wed, 18 Nov 2009 18:00:29 +0000 (+0000) Subject: ITS#6385. Not noting in changes as it is new breakage since 2.4.19 as part of other... X-Git-Tag: OPENLDAP_REL_ENG_2_4_20~39 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d28961448c7058c053da825953e11d8c7a69a396;p=openldap ITS#6385. Not noting in changes as it is new breakage since 2.4.19 as part of other refactoring. --- diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 80b7c34b7f..ffefe52e81 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -3718,7 +3718,7 @@ syncinfo_free( syncinfo_t *sie, int free_all ) if ( sie->si_logbase.bv_val ) { ch_free( sie->si_logbase.bv_val ); } - if ( SLAP_SYNC_SUBENTRY( sie->si_be )) { + if ( sie->si_be && SLAP_SYNC_SUBENTRY( sie->si_be )) { ch_free( sie->si_contextdn.bv_val ); } if ( sie->si_attrs ) {