From 93f3ae50db681c1be03b272384129b30503bdff3 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Fri, 7 Nov 2008 13:38:30 +0000 Subject: [PATCH] Adapt to recent changes in filter_free_x() interface --- contrib/slapd-modules/nssov/nssov.h | 2 +- contrib/slapd-modules/nssov/passwd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/slapd-modules/nssov/nssov.h b/contrib/slapd-modules/nssov/nssov.h index 41498bfff5..bf563f058b 100644 --- a/contrib/slapd-modules/nssov/nssov.h +++ b/contrib/slapd-modules/nssov/nssov.h @@ -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; \ } diff --git a/contrib/slapd-modules/nssov/passwd.c b/contrib/slapd-modules/nssov/passwd.c index e986b961f7..41a53f8ff9 100644 --- a/contrib/slapd-modules/nssov/passwd.c +++ b/contrib/slapd-modules/nssov/passwd.c @@ -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; } -- 2.39.5