Skip to content

Commit

Permalink
filter: test: Plug a memory leak
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Hatake <[email protected]>
  • Loading branch information
cosmo0920 committed Feb 21, 2024
1 parent 0234966 commit 05baacd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,8 @@ void test_filter()
text = cmt_encode_text_create(cmt2);
printf("[substring matched with \"%s\" in fqname] ====>\n%s\n", fqname, text);

cmt_encode_text_destroy(text);

/* reset flags */
flags = 0;

Expand Down

0 comments on commit 05baacd

Please sign in to comment.