diff options
author | David Tardon <dtardon@redhat.com> | 2016-09-29 17:33:06 +0200 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2016-09-30 11:13:13 +0900 |
commit | 3da1d60c830a724cd9bbcac4a75a474bd4f069c1 (patch) | |
tree | f425b5a51b8961e298e4a8dc7f3bdeb63a7341e9 | |
parent | f8bb280c924fb99d6d97b77806ab8b544efe1b37 (diff) |
fix leak in test
-rw-r--r-- | tests/check-tag.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check-tag.c b/tests/check-tag.c index df9d581..99466e2 100644 --- a/tests/check-tag.c +++ b/tests/check-tag.c @@ -229,6 +229,8 @@ TDEF (lt_tag_canonicalize_in_extlang_form) { fail_unless(s != NULL, "Unable to be canonicalize."); fail_unless(lt_strcmp0(s, "sgn-bzs") == 0, "Unexpected result to be canonicalized."); free(s); + + lt_tag_unref(t1); } TEND TDEF (lt_tag_match) { |