]> granicus.if.org Git - postgis/commitdiff
Fixed a bug in lwgeom_dropBBOX()
authorSandro Santilli <strk@keybit.net>
Tue, 14 Dec 2004 11:41:43 +0000 (11:41 +0000)
committerSandro Santilli <strk@keybit.net>
Tue, 14 Dec 2004 11:41:43 +0000 (11:41 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1144 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwgeom.c

index a9fde843abbb24513a71d929fca10cdf449f96e1..ea9dbc27561774d271782d3f090f5d38d80c8976 100644 (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);
 }
 
 /*