From 6f23241ba9d7d908534dade0e03041486a970ddc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 2 Mar 2013 21:19:07 +0300 Subject: Other fixes after Coverity checks. --- src/test/testmain.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/test/testmain.cpp') diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp index 42e4ea9bd..c150a8b99 100644 --- a/src/test/testmain.cpp +++ b/src/test/testmain.cpp @@ -45,6 +45,12 @@ TestMain::TestMain() : + std::string("/manaplustest.log")); } +TestMain::~TestMain() +{ + delete log; + log = nullptr; +} + void TestMain::initConfig() { mConfig.init(Client::getConfigDirectory() + "/test.xml"); -- cgit v1.2.3-60-g2f50