Thanks Alessandro Furieri for spotting this
git-svn-id: http://svn.osgeo.org/postgis/trunk@13999
b70326c6-7e19-0410-871a-
916f4a2858ee
match = GEOSRelatePatternMatch(relate, "F********");
if ( match ) {
+ /* error or no interior intersection */
+ GEOSGeom_destroy(eegg);
if ( match == 2 ) {
GEOSPreparedGeom_destroy(prepared_edge);
GEOSGeom_destroy(edgegg);
- GEOSGeom_destroy(eegg);
GEOSFree(relate);
lwerror("GEOSRelatePatternMatch error: %s", lwgeom_geos_errmsg);
return -1;