mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
test Picture: Fix array release
fix code
This commit is contained in:
parent
b12421b4d1
commit
021b86a065
1 changed files with 2 additions and 2 deletions
|
@ -297,7 +297,7 @@ TEST_CASE("Load SVG file and render", "[tvgPicture]")
|
|||
|
||||
REQUIRE(Initializer::term(CanvasEngine::Sw) == Result::Success);
|
||||
|
||||
delete buffer;
|
||||
delete[] buffer;
|
||||
}
|
||||
|
||||
TEST_CASE("Load PNG file and render", "[tvgPicture]")
|
||||
|
@ -366,7 +366,7 @@ TEST_CASE("Load TVG file and render", "[tvgPicture]")
|
|||
|
||||
REQUIRE(Initializer::term(CanvasEngine::Sw) == Result::Success);
|
||||
|
||||
delete buffer;
|
||||
delete[] buffer;
|
||||
}
|
||||
|
||||
TEST_CASE("Load RAW file and render", "[tvgPicture]")
|
||||
|
|
Loading…
Add table
Reference in a new issue