From 9bd043277b60afbb1fa4c07a0130e36f16c5e22d Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 1 Mar 2003 12:28:45 +0000 Subject: [PATCH] fix memory free --- servers/slapd/tools/slapcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/tools/slapcommon.c b/servers/slapd/tools/slapcommon.c index 2443284c97..37cb8eafe9 100644 --- a/servers/slapd/tools/slapcommon.c +++ b/servers/slapd/tools/slapcommon.c @@ -240,7 +240,7 @@ slap_tool_init( } be = select_backend( &nbase, 0, 0 ); - ber_bvfree( nbase.bv_val ); + ber_memfree( nbase.bv_val ); if( be == NULL ) { fprintf( stderr, "%s: slap_init no backend for \"%s\"\n", -- 2.39.5