From: Howard Chu Date: Mon, 5 Sep 2005 02:42:24 +0000 (+0000) Subject: ITS#4003 frontend->be_replogfile can legitimately be set. X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~479 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d89cfddcde6c302dae00a978cef2189c019b9428;p=openldap ITS#4003 frontend->be_replogfile can legitimately be set. --- diff --git a/servers/slapd/backend.c b/servers/slapd/backend.c index 25e009e1ca..f6f868a30d 100644 --- a/servers/slapd/backend.c +++ b/servers/slapd/backend.c @@ -477,7 +477,9 @@ int backend_destroy(void) } acl_destroy( bd->be_acl, frontendDB->be_acl ); - assert( bd->be_replogfile == NULL ); + if ( bd->be_replogfile != NULL ) { + free( bd->be_replogfile ); + } assert( bd->be_replica == NULL ); }