mirror of https://github.com/CGAL/cgal
fix a memory leak
This commit is contained in:
parent
7566f2cdcc
commit
94191c33e7
|
|
@ -522,6 +522,7 @@ MainWindow::clearMinkowski()
|
||||||
{
|
{
|
||||||
if(minkgi != 0){
|
if(minkgi != 0){
|
||||||
scene.removeItem(minkgi);
|
scene.removeItem(minkgi);
|
||||||
|
delete minkgi;
|
||||||
minkgi = 0;
|
minkgi = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue