]> git.sur5r.net Git - openldap/commitdiff
Minor fixes
authorHoward Chu <hyc@openldap.org>
Fri, 18 Apr 2003 07:43:07 +0000 (07:43 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 18 Apr 2003 07:43:07 +0000 (07:43 +0000)
servers/slapd/back-bdb/filterindex.c
servers/slapd/back-bdb/search.c

index 3583831b2b0e24162356a9723622b728ef085b05..791d8769fcbe569193e74205690fa8246fa8c4c8 100644 (file)
@@ -490,6 +490,7 @@ equality_candidates(
                if( rc == DB_NOTFOUND ) {
                        BDB_IDL_ZERO( ids );
                        rc = 0;
+                       break;
                } else if( rc != LDAP_SUCCESS ) {
 #ifdef NEW_LOGGING
                        LDAP_LOG ( INDEX, RESULTS, 
index 91d8c7e501742a21f038f71b1b7701bf0a05eafb..4d8710d9b36e7bd582783614ad097a4674db4873 100644 (file)
@@ -1420,9 +1420,9 @@ static int oc_filter(
        return rc;
 }
 
-static void search_stack_free( void *key, void *data)
+static void search_stack_free( void *key, void *data )
 {
-       ch_free(data);
+       ber_memfree_x(data, NULL);
 }
 
 static void *search_stack(