mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 01:22:47 +00:00
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:
parent
a87cc9fa3e
commit
8814c0fe25
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue