Skip to content

Commit

Permalink
Merge pull request #425 from bazsi/filterx-unset-empties-incorrect-st…
Browse files Browse the repository at this point in the history
…atic-call-of-init-method

filterx/unset-empties: call the virtual init function of object_expr
  • Loading branch information
OverOrion authored Jan 2, 2025
2 parents 99abe6a + 79e2bcd commit c1ad6e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/filterx/func-unset-empties.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ _init(FilterXExpr *s, GlobalConfig *cfg)
{
FilterXFunctionUnsetEmpties *self = (FilterXFunctionUnsetEmpties *) s;

if (!filterx_expr_init_method(self->object_expr, cfg))
if (!filterx_expr_init(self->object_expr, cfg))
return FALSE;

return filterx_function_init_method(&self->super, cfg);
Expand Down

0 comments on commit c1ad6e3

Please sign in to comment.