Commit ef384e1c authored by Dennis Nienhüser's avatar Dennis Nienhüser
Browse files

Fix memory leak

parent fcee909f
......@@ -810,7 +810,9 @@ void GeoPainter::drawPolygon ( const GeoDataPolygon & polygon,
ClipPainter::drawPolyline( *polygon );
}
}
if (!hasInnerBoundaries) {
qDeleteAll(outerPolygons);
}
qDeleteAll(outlines);
qDeleteAll(polygons);
}
......
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