mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-02-01 03:05:24 +01:00
Release ImageImporter'd buffer after the test is done
This commit is contained in:
@@ -55,4 +55,5 @@ TEST_F(ImageImporterTests, Import_Logo)
|
||||
ASSERT_NE(nullptr, result.Buffer);
|
||||
auto hash = GetHash(result.Buffer, result.BufferLength);
|
||||
ASSERT_EQ(0xCEF27C7D, hash);
|
||||
free(result.Buffer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user