[geos-commits] r2535 - branches/3.1/capi

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Jun 1 13:14:28 EDT 2009


Author: pramsey
Date: 2009-06-01 13:14:28 -0400 (Mon, 01 Jun 2009)
New Revision: 2535

Modified:
   branches/3.1/capi/geos_c.cpp
Log:
Back-port from trunk r2534.


Modified: branches/3.1/capi/geos_c.cpp
===================================================================
--- branches/3.1/capi/geos_c.cpp	2009-06-01 03:34:11 UTC (rev 2534)
+++ branches/3.1/capi/geos_c.cpp	2009-06-01 17:14:28 UTC (rev 2535)
@@ -82,7 +82,11 @@
 void
 finishGEOS ()
 {
-    finishGEOS_r( handle );
+    if (handle != NULL) 
+    { 
+        finishGEOS_r( handle ); 
+        handle = NULL; 
+    } 
 }
 
 void 



More information about the geos-commits mailing list