diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-30 01:14:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-30 01:14:47 +0300 |
commit | c5e926c01a5a767ed73286b4b5570a4bbb0a26ac (patch) | |
tree | 52e0c216cdfbc38a271d3d566b8e6d466765f737 /src/resources/dye/dye_unittest.cc | |
parent | ede06c1fe25184b1232687950ce79dc29352c00b (diff) | |
download | plus-c5e926c01a5a767ed73286b4b5570a4bbb0a26ac.tar.gz plus-c5e926c01a5a767ed73286b4b5570a4bbb0a26ac.tar.bz2 plus-c5e926c01a5a767ed73286b4b5570a4bbb0a26ac.tar.xz plus-c5e926c01a5a767ed73286b4b5570a4bbb0a26ac.zip |
Fix some leaks in unit tests.
Diffstat (limited to 'src/resources/dye/dye_unittest.cc')
-rw-r--r-- | src/resources/dye/dye_unittest.cc | 2 |
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") |