diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-02 21:19:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-02 21:19:07 +0300 |
commit | 6f23241ba9d7d908534dade0e03041486a970ddc (patch) | |
tree | 69d25d1d9f7d6f78d80da60edd4a48f7c8dc85a2 /src/test/testmain.cpp | |
parent | bfa44d6b007ca2e3ffabafda5beadbf102a6efdc (diff) | |
download | manaverse-6f23241ba9d7d908534dade0e03041486a970ddc.tar.gz manaverse-6f23241ba9d7d908534dade0e03041486a970ddc.tar.bz2 manaverse-6f23241ba9d7d908534dade0e03041486a970ddc.tar.xz manaverse-6f23241ba9d7d908534dade0e03041486a970ddc.zip |
Other fixes after Coverity checks.
Diffstat (limited to 'src/test/testmain.cpp')
-rw-r--r-- | src/test/testmain.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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"); |