Skip to content

Commit

Permalink
endids_reused_buffer.c: Fix memory leak in test. (free fsm.)
Browse files Browse the repository at this point in the history
  • Loading branch information
silentbicycle committed Sep 12, 2024
1 parent 6c61249 commit dec6ec0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/endids/endids_reused_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ int main(void)
ret = fsm_endid_get(fsm, end, ENDID_BUF_CEIL, endids);
assert(endids[0] == 12345);

fsm_free(fsm);
return EXIT_SUCCESS;
}

0 comments on commit dec6ec0

Please sign in to comment.