Skip to content

Commit

Permalink
Fix leak in labeling
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 21, 2015
1 parent f5a72c6 commit 2d069c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/pal/pointset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down

0 comments on commit 2d069c6

Please sign in to comment.