From: Ondřej Kuzník Date: Sat, 15 May 2021 09:01:18 +0000 (+0100) Subject: ITS#6467 Reset avl root after releasing the tree X-Git-Tag: OPENLDAP_REL_ENG_2_6_0~211 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c216ef53cd212ea96b798e31664e17e576c2ddb2;p=thirdparty%2Fopenldap.git ITS#6467 Reset avl root after releasing the tree --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 1c65f716f4..abe96fcf2e 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1972,6 +1972,7 @@ syncprov_accesslog_uuid_cb( Operation *op, SlapReply *rs ) assert( uuid_progress->ndel == uuid_progress->list_len ); ndel = ldap_avl_free( uuid_progress->uuids, NULL ); assert( ndel == uuid_progress->ndel ); + uuid_progress->uuids = NULL; uuid_progress->ndel = 0; }