Skip to content

Commit 933c1f5

Browse files
committed
Applied patch for #5099...
1 parent 5e0b2d4 commit 933c1f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mapgeos.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -720,6 +720,7 @@ void msGEOSFreeGeometry(shapeObj *shape)
720720

721721
g = (GEOSGeom) shape->geometry;
722722
GEOSGeom_destroy_r(handle,g);
723+
shape->geometry = NULL;
723724
#else
724725
msSetError(MS_GEOSERR, "GEOS support is not available.", "msGEOSFreeGEOSGeom()");
725726
return;

0 commit comments

Comments
 (0)