1
0
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:
Michał Janiszewski
2019-01-02 20:14:28 +01:00
parent ca3d9cea91
commit 37535f4642

View File

@@ -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);
}