Opened 15 years ago

Closed 15 years ago

#3157 closed defect (fixed)

Use GEOSFree() with GEOS >= 3.1.1

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.7.0
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc: warmerdam

Description

The call to free( pabyBuf ) in OGRGeometryFactory::createFromGEOS() releases a buffer returned by GEOSGeomToWKB_buf(). This may sometimes crash on Windows. See http://trac.osgeo.org/geos/ticket/249.

The fix is to call GEOSFree() when available

Change History (1)

comment:1 by Even Rouault, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in trunk in r17707

Note: See TracTickets for help on using tickets.