Skip to content
Permalink
Browse files

Fix memory leak in QgsCurvePolygonV2::removeInteriorRing

  • Loading branch information
nyalldawson committed Sep 9, 2015
1 parent acd8f26 commit 59b6209e524fac0a12f12d914cb07ed1567c5b66
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geometry/qgscurvepolygonv2.cpp
@@ -447,7 +447,7 @@ bool QgsCurvePolygonV2::removeInteriorRing( int nr )
{
return false;
}
mInteriorRings.removeAt( nr );
delete mInteriorRings.takeAt( nr );
return true;
}

0 comments on commit 59b6209

Please sign in to comment.
You can’t perform that action at this time.