Fix leak in labeling

This commit is contained in:
Nyall Dawson 2015-10-21 21:10:02 +11:00
parent f5a72c6ba5
commit 2d069c6645

View File

@ -923,6 +923,7 @@ namespace pal
double ny;
( void )GEOSCoordSeq_getX_r( geosctxt, nearestCoord, 0, &nx );
( void )GEOSCoordSeq_getY_r( geosctxt, nearestCoord, 0, &ny );
GEOSCoordSeq_destroy_r( geosctxt, nearestCoord );
GEOSGeom_destroy_r( geosctxt, geosPt );
if ( rx )