]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapcommon.c
add in-scope helper
[openldap] / servers / slapd / slapcommon.c
index 6ae9d1946959414afb68fb7cc93e2b3aeeb34669..1cf60a4260f78be7c6d676f16e8cf94ad2f22c26 100644 (file)
@@ -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