Commit 7b23318e authored by Jan Möbius's avatar Jan Möbius

Merge branch 'memory_leak_drawmesh' into 'master'

fix memory leak in DrawMeshT_impl

See merge request !170
parents 8c473723 781e9d4a
......@@ -2057,7 +2057,11 @@ void Core::showReducedMenuBar(bool reduced) {
}
void Core::finishSplash() {
if (splash_) splash_->finish(coreWidget_);
if (splash_) {
splash_->finish(coreWidget_);
splash_->deleteLater();
splash_ = 0;
}
}
......
......@@ -1156,6 +1156,7 @@ template <class Mesh>
DrawMeshT<Mesh>::~DrawMeshT(void)
{
delete [] invVertexMap_;
delete meshComp_;
}
......
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