[geos-commits] r2534 - trunk/capi
svn_geos at osgeo.org
svn_geos at osgeo.org
Sun May 31 23:34:11 EDT 2009
Author: hobu
Date: 2009-05-31 23:34:11 -0400 (Sun, 31 May 2009)
New Revision: 2534
Modified:
trunk/capi/geos_c.cpp
Log:
#256 finishGEOS called multiple times will segfault
Modified: trunk/capi/geos_c.cpp
===================================================================
--- trunk/capi/geos_c.cpp 2009-05-28 14:38:40 UTC (rev 2533)
+++ trunk/capi/geos_c.cpp 2009-06-01 03:34:11 UTC (rev 2534)
@@ -82,7 +82,10 @@
void
finishGEOS ()
{
- finishGEOS_r( handle );
+ if (handle != NULL) {
+ finishGEOS_r( handle );
+ handle = NULL;
+ }
}
void
More information about the geos-commits
mailing list