git-svn-id: http://svn.osgeo.org/postgis/branches/pgis_1_0@1884
b70326c6-7e19-0410-871a-
916f4a2858ee
PostGIS 1.0.4
+ - Memory leak plugged in GiST indexing
- Segfault fix in transform() handling of proj4 errors
- Fixed some proj4 texts in spatial_ref_sys (missing +proj)
- GiST indexing cleanup
# shared library version
SO_MAJOR_VERSION=1
SO_MINOR_VERSION=0
-SO_MICRO_VERSION=3
+SO_MICRO_VERSION=4
# sql scripts version
SCRIPTS_VERSION=0.3.0
int
compute_serialized_box3d_p(uchar *srl, BOX3D *out)
{
- BOX3D *box = compute_serialized_box3d(srl);
- if ( ! box ) return 0;
- out->xmin = box->xmin;
- out->ymin = box->ymin;
- out->zmin = box->zmin;
- out->xmax = box->xmax;
- out->ymax = box->ymax;
- out->zmax = box->zmax;
- return 1;
+ BOX3D *box = compute_serialized_box3d(srl);
+ if ( ! box ) return 0;
+ out->xmin = box->xmin;
+ out->ymin = box->ymin;
+ out->zmin = box->zmin;
+ out->xmax = box->xmax;
+ out->ymax = box->ymax;
+ out->zmax = box->zmax;
+ lwfree(box);
+
+ return 1;
}
// Compute bounding box of a serialized LWGEOM, even if it is