Fixed a bug in lwgeom_dropBBOX()

git-svn-id: http://svn.osgeo.org/postgis/trunk@1144 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Sandro Santilli 2004-12-14 11:41:43 +00:00
parent a87cc9fa3e
commit 8814c0fe25

View file

@ -449,6 +449,7 @@ lwgeom_dropBBOX(LWGEOM *lwgeom)
if ( lwgeom->bbox && ! TYPE_HASBBOX(lwgeom->type) )
lwfree(lwgeom->bbox);
lwgeom->bbox = NULL;
TYPE_SETHASBBOX(lwgeom->type, 0);
}
/*