Commit 781e9d4a authored by Johannes Lenzen's avatar Johannes Lenzen

fix memory leak in DrawMeshT_impl

Patch by: Shaun Song <sxsong1207@qq.com>
parent 8c473723
......@@ -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