]> git.sur5r.net Git - openldap/commitdiff
fix memory free
authorPierangelo Masarati <ando@openldap.org>
Sat, 1 Mar 2003 12:28:45 +0000 (12:28 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 1 Mar 2003 12:28:45 +0000 (12:28 +0000)
servers/slapd/tools/slapcommon.c

index 2443284c972c6333dedf0694af819b1575426dd6..37cb8eafe94c680b74788b56ac27a3b8f28f5178 100644 (file)
@@ -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",