mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
test: fix a memory leak
This commit is contained in:
parent
894ecd7461
commit
ceb07c61df
1 changed files with 2 additions and 0 deletions
|
@ -259,6 +259,8 @@ TEST_CASE("Animation Lottie11", "[tvgAnimation]")
|
|||
file.close();
|
||||
REQUIRE(picture->load(data, size, "json", "", true) == Result::Success);
|
||||
|
||||
free(data);
|
||||
|
||||
REQUIRE(Initializer::term() == Result::Success);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue