Commit 58dfef01 authored by Ondřej Kuzník's avatar Ondřej Kuzník
Browse files

ITS#7439 Do not free parts of original filter

parent a99e4352
...@@ -517,7 +517,7 @@ rwm_int_filter_map_rewrite( ...@@ -517,7 +517,7 @@ rwm_int_filter_map_rewrite(
struct berval *fstr ) struct berval *fstr )
{ {
int i; int i;
Filter *p; Filter *p, ftmp;
AttributeDescription *ad; AttributeDescription *ad;
struct berval atmp, struct berval atmp,
vtmp, vtmp,
...@@ -769,7 +769,7 @@ rwm_int_filter_map_rewrite( ...@@ -769,7 +769,7 @@ rwm_int_filter_map_rewrite(
case -1: case -1:
computed:; computed:;
filter_free_x( op, f, 0 ); f = &ftmp;
f->f_choice = SLAPD_FILTER_COMPUTED; f->f_choice = SLAPD_FILTER_COMPUTED;
f->f_result = SLAPD_COMPARE_UNDEFINED; f->f_result = SLAPD_COMPARE_UNDEFINED;
/* fallthru */ /* fallthru */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment