Skip to content

Commit

Permalink
Cleanup filter in JSON serialize alerts function
Browse files Browse the repository at this point in the history
  • Loading branch information
SanderMertens committed Aug 3, 2023
1 parent 40c89f4 commit e2041a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flecs.c
Original file line number Diff line number Diff line change
Expand Up @@ -35109,6 +35109,8 @@ int flecs_json_serialize_children_alerts(
}
}

ecs_filter_fini(&f);

return 0;
error:
return -1;
Expand Down
2 changes: 2 additions & 0 deletions src/addons/json/serialize.c
Original file line number Diff line number Diff line change
Expand Up @@ -1050,6 +1050,8 @@ int flecs_json_serialize_children_alerts(
}
}

ecs_filter_fini(&f);

return 0;
error:
return -1;
Expand Down

0 comments on commit e2041a4

Please sign in to comment.