Skip to content

Commit 50a5fe7

Browse files
committed
Restore freeing of state sets copied from linkage_info.
1 parent 9971fe1 commit 50a5fe7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libfsm/union.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,8 @@ rebase_analysis_info(struct analysis_info *ainfo, fsm_state_t base)
664664
static void
665665
free_analysis(const struct fsm_alloc *alloc, struct analysis_info *ainfo)
666666
{
667+
state_set_free(ainfo->anchored_starts);
668+
state_set_free(ainfo->anchored_ends);
667669
state_set_free(ainfo->eager_matches);
668670
state_set_free(ainfo->needs_indirect_epsilon_edge_to_eager_match_state);
669671
state_set_free(ainfo->reachable_from_nonstart_state);

0 commit comments

Comments
 (0)