[geos-commits] r4061 - trunk/capi

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Jul 20 10:31:49 PDT 2015


Author: strk
Date: 2015-07-20 10:31:49 -0700 (Mon, 20 Jul 2015)
New Revision: 4061

Modified:
   trunk/capi/geos_ts_c.cpp
Log:
Initialize all members of GEOSContextHandle_HS on construction

Modified: trunk/capi/geos_ts_c.cpp
===================================================================
--- trunk/capi/geos_ts_c.cpp	2015-07-20 17:25:26 UTC (rev 4060)
+++ trunk/capi/geos_ts_c.cpp	2015-07-20 17:31:49 UTC (rev 4061)
@@ -152,6 +152,14 @@
     int initialized;
 
     GEOSContextHandle_HS()
+      :
+      geomFactory(0),
+      noticeMessageOld(0),
+      noticeMessageNew(0),
+      noticeData(0),
+      errorMessageOld(0),
+      errorMessageNew(0),
+      errorData(0)
     {
       memset(msgBuffer, 0, sizeof(msgBuffer));
       geomFactory = GeometryFactory::getDefaultInstance();



More information about the geos-commits mailing list