Skip to content

Commit

Permalink
cdata: Fix trivial memory leak.
Browse files Browse the repository at this point in the history
  • Loading branch information
silentbicycle committed Oct 30, 2024
1 parent 24ecdef commit 31d801c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libfsm/print/cdata.c
Original file line number Diff line number Diff line change
Expand Up @@ -1389,6 +1389,7 @@ fsm_print_cdata(FILE *f,
f_free(alloc, config.dst_buf.buf);
f_free(alloc, config.endid_buf.buf);
f_free(alloc, config.eager_output_buf.buf);
f_free(alloc, config.bitset_words.pairs);
f_free(alloc, config.state_info);

return 0;
Expand Down

0 comments on commit 31d801c

Please sign in to comment.