Skip to content
Snippets Groups Projects
Commit 7daa89ab authored by Rafaël Carré's avatar Rafaël Carré
Browse files

* #6392: pluginmanagertest: fix warnings reported by valgrind

parent a4fad566
Branches
Tags
No related merge requests found
......@@ -133,13 +133,9 @@ void PluginManagerTest::tearDown()
delete _pm;
_pm=0;
if (plugin)
delete plugin;
delete plugin;
plugin = 0;
if (library)
delete library;
delete library;
library = 0;
}
......@@ -65,7 +65,11 @@ class PluginManagerTest : public CppUnit::TestCase {
CPPUNIT_TEST_SUITE_END();
public:
PluginManagerTest() : CppUnit::TestCase("Plugin Manager Tests") {}
PluginManagerTest() : CppUnit::TestCase("Plugin Manager Tests")
, _pm(0)
, library(0)
, plugin(0)
{}
/*
* Code factoring - Common resources can be initialized here.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment