summaryrefslogtreecommitdiff
path: root/src/resources/dye/dye_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/dye/dye_unittest.cc')
-rw-r--r--src/resources/dye/dye_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/dye/dye_unittest.cc b/src/resources/dye/dye_unittest.cc
index 6b6f1719a..06abc09c7 100644
--- a/src/resources/dye/dye_unittest.cc
+++ b/src/resources/dye/dye_unittest.cc
@@ -304,6 +304,8 @@ static void dyeCheck(const std::string &dyeString,
{
REQUIRE(ptr1[idx] == ptr2[idx]);
}
+ image2->decRef();
+ image1->decRef();
}
TEST_CASE("Dye real dye")