memory release in force_collection

git-svn-id: http://svn.osgeo.org/postgis/trunk@2085 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2005-11-28 11:31:15 +00:00
parent ca569300f5
commit f64e4bb1dc

View file

@ -1628,6 +1628,7 @@ Datum LWGEOM_force_collection(PG_FUNCTION_ARGS)
}
result = pglwgeom_serialize(lwgeom);
lwgeom_release(lwgeom);
PG_FREE_IF_COPY(geom, 0);