]> git.sur5r.net Git - openldap/commitdiff
Adapt to recent changes in filter_free_x() interface
authorRalf Haferkamp <ralf@openldap.org>
Fri, 7 Nov 2008 13:38:30 +0000 (13:38 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Fri, 7 Nov 2008 13:38:30 +0000 (13:38 +0000)
contrib/slapd-modules/nssov/nssov.h
contrib/slapd-modules/nssov/passwd.c

index 41498bfff5ec79bb4079650dc5b7e02cf454fcbf..bf563f058bed4a7cb5b648bf1a18faa96b23f6fd 100644 (file)
@@ -277,7 +277,7 @@ int nssov_shadow_all(nssov_info *ni,TFILE *fp,Operation *op);
        op->ors_slimit = SLAP_NO_LIMIT; \
     /* do the internal search */ \
        op->o_bd->be_search( op, &rs ); \
-       filter_free_x( op, op->ors_filter ); \
+       filter_free_x( op, op->ors_filter, 1 ); \
     return 0; \
   }
 
index e986b961f700392215db2f97b600eef0abaf6675..41a53f8ff9df078bf349fe26824b424e1dea6d80 100644 (file)
@@ -185,7 +185,7 @@ int nssov_uid2dn(Operation *op,nssov_info *ni,struct berval *uid,struct berval *
        op2.ors_filter = str2filter_x( op, filter.bv_val );
        op2.ors_attrs = slap_anlist_no_attrs;
        rc = op2.o_bd->be_search( &op2, &rs );
-       filter_free_x( op, op2.ors_filter );
+       filter_free_x( op, op2.ors_filter, 1 );
        return rc == LDAP_SUCCESS;
 }