From d89cfddcde6c302dae00a978cef2189c019b9428 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 5 Sep 2005 02:42:24 +0000 Subject: [PATCH] ITS#4003 frontend->be_replogfile can legitimately be set. --- servers/slapd/backend.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 ); }