Skip to content

Commit e2041a4

Browse files
committed
Cleanup filter in JSON serialize alerts function
1 parent 40c89f4 commit e2041a4

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

flecs.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35109,6 +35109,8 @@ int flecs_json_serialize_children_alerts(
3510935109
}
3511035110
}
3511135111

35112+
ecs_filter_fini(&f);
35113+
3511235114
return 0;
3511335115
error:
3511435116
return -1;

src/addons/json/serialize.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,8 @@ int flecs_json_serialize_children_alerts(
10501050
}
10511051
}
10521052

1053+
ecs_filter_fini(&f);
1054+
10531055
return 0;
10541056
error:
10551057
return -1;

0 commit comments

Comments
 (0)