From: Pierangelo Masarati Date: Wed, 18 Nov 2009 09:51:49 +0000 (+0000) Subject: don't test a NULL BackendDB * (ITS#6385) X-Git-Tag: ACLCHECK_0~106 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=272abc5561498a4346a9edecbd8f62d10c6f40d7;p=openldap don't test a NULL BackendDB * (ITS#6385) --- 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 ) {