Commit a6d93e2a authored by Jan Möbius's avatar Jan Möbius

Fixed some valgrind warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15707 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 14c5e091
......@@ -76,6 +76,15 @@ InfoMeshObjectPlugin::InfoMeshObjectPlugin() :
{
}
InfoMeshObjectPlugin::~InfoMeshObjectPlugin() {
if ( OpenFlipper::Options::gui()) {
delete infoBar_;
delete info_;
}
}
void InfoMeshObjectPlugin::initializePlugin() {
......
......@@ -122,7 +122,7 @@ class InfoMeshObjectPlugin : public QObject, BaseInterface, InformationInterface
InfoMeshObjectPlugin();
// default destructor
~InfoMeshObjectPlugin() {};
~InfoMeshObjectPlugin();
/// Name of the Plugin
QString name(){ return (QString("InfoMeshObject")); };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment