summaryrefslogtreecommitdiff
path: root/src/resources/map/maplayer_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/maplayer_unittest.cc')
-rw-r--r--src/resources/map/maplayer_unittest.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/map/maplayer_unittest.cc b/src/resources/map/maplayer_unittest.cc
index 5d7f5c258..f2efd49a6 100644
--- a/src/resources/map/maplayer_unittest.cc
+++ b/src/resources/map/maplayer_unittest.cc
@@ -1992,6 +1992,7 @@ TEST_CASE("MapLayer drawSpecialLayer (specialLayer)")
delete map;
delete mock;
+ GraphicsManager::deleteRenderers();
delete2(logger);
}
@@ -2348,6 +2349,7 @@ TEST_CASE("MapLayer drawSpecialLayer (tempLayer)")
delete map;
delete mock;
+ GraphicsManager::deleteRenderers();
delete2(logger);
}
@@ -3231,5 +3233,7 @@ TEST_CASE("MapLayer drawFringe")
delete img2;
delete img3;
delete mock;
+ delete2(theme);
+ GraphicsManager::deleteRenderers();
delete2(logger);
}