Skip to content


Fix reshape assertion if reshape line does not intersect twice
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jun 8, 2015
1 parent 35834e8 commit 77d68b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/geometry/qgsgeos.cpp
Expand Up @@ -1558,7 +1558,7 @@ QgsAbstractGeometryV2* QgsGeos::reshapeGeometry( const QgsLineStringV2& reshapeW
newGeoms[i] = GEOSGeom_clone_r( geosinit.ctxt, GEOSGetGeometryN( mGeos, i ) );
newGeoms[i] = GEOSGeom_clone_r( geosinit.ctxt, GEOSGetGeometryN_r( geosinit.ctxt, mGeos, i ) );
GEOSGeom_destroy_r( geosinit.ctxt, reshapeLineGeos );
Expand Down

1 comment on commit 77d68b0

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mhugent thanks! Do you think qgsgeos.cpp:1910 should be using GEOSGeom_clone_r instead of GEOSGeom_clone also?

Please sign in to comment.