ITS#7439 Do not free parts of original filter

This commit is contained in:
Ondřej Kuzník 2021-01-20 11:39:17 +00:00
parent a99e435200
commit 58dfef012c

View file

@ -517,7 +517,7 @@ rwm_int_filter_map_rewrite(
struct berval *fstr )
{
int i;
Filter *p;
Filter *p, ftmp;
AttributeDescription *ad;
struct berval atmp,
vtmp,
@ -769,7 +769,7 @@ rwm_int_filter_map_rewrite(
case -1:
computed:;
filter_free_x( op, f, 0 );
f = &ftmp;
f->f_choice = SLAPD_FILTER_COMPUTED;
f->f_result = SLAPD_COMPARE_UNDEFINED;
/* fallthru */