diff --git a/tests/filter.c b/tests/filter.c index 4218212..aa72788 100644 --- a/tests/filter.c +++ b/tests/filter.c @@ -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;