[postgis-commits] svn - r2709 - trunk/lwgeom

postgis-commits at postgis.refractions.net postgis-commits at postgis.refractions.net
Fri Sep 28 03:18:25 PDT 2007


Author: mcayland
Date: 2007-09-28 03:18:23 -0700 (Fri, 28 Sep 2007)
New Revision: 2709

Modified:
   trunk/lwgeom/lwgeom_gml.c
Log:
Fix a mistake in my refactoring of the AsGML() patch for GML3 support - the detoasted geometry is now the second argument rather than the first. Per report from Olivier Courtin.

Modified: trunk/lwgeom/lwgeom_gml.c
===================================================================
--- trunk/lwgeom/lwgeom_gml.c	2007-09-19 05:01:18 UTC (rev 2708)
+++ trunk/lwgeom/lwgeom_gml.c	2007-09-28 10:18:23 UTC (rev 2709)
@@ -103,7 +103,7 @@
 	else
 	  gml = geometry_to_gml3(SERIALIZED_FORM(geom), srs);
 	
-	PG_FREE_IF_COPY(geom, 0);
+	PG_FREE_IF_COPY(geom, 1);
 
 	len = strlen(gml) + VARHDRSZ;
 



More information about the postgis-commits mailing list