From 5efa186908ff651ce2234a4ccfeb0dfd305ce674 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Thu, 30 Apr 2009 11:36:12 +0000 Subject: [PATCH] fix one-time leak --- servers/slapd/slapcommon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index 6ae9d19469..1cf60a4260 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -649,6 +649,8 @@ slap_tool_init( nosubordinates = 1; } + ch_free( base.bv_val ); + } else if ( dbnum == -1 ) { /* no suffix and no dbnum specified, just default to * the first available database -- 2.39.5