Skip to content
Permalink
Browse files

[Geometry checker] Fix incorrect free in gap check

  • Loading branch information
manisandro committed Sep 28, 2017
1 parent 85f8c25 commit f48cf24956ef2826590ca7553b7114fb1b5ad8d1
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/analysis/vector/geometry_checker/qgsgeometrygapcheck.cpp
@@ -114,10 +114,10 @@ void QgsGeometryGapCheck::collectErrors( QList<QgsGeometryCheckError *> &errors,
// Add error
errors.append( new QgsGeometryGapCheckError( this, "", gapGeom, neighboringIds, gapGeom->area(), gapAreaBBox ) );

delete unionGeom;
delete envelope;
delete diffGeom;
}
delete unionGeom;
delete envelope;
delete diffGeom;
}

void QgsGeometryGapCheck::fixError( QgsGeometryCheckError *error, int method, const QMap<QString, int> & /*mergeAttributeIndices*/, Changes &changes ) const

0 comments on commit f48cf24

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