From: Pierangelo Masarati Date: Sat, 1 Mar 2003 12:28:45 +0000 (+0000) Subject: fix memory free X-Git-Tag: NO_SLAP_OP_BLOCKS~229 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9bd043277b60afbb1fa4c07a0130e36f16c5e22d;p=openldap fix memory free --- 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",