aboutsummaryrefslogtreecommitdiff
path: root/ext/rtree/geopoly.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/rtree/geopoly.c')
-rw-r--r--ext/rtree/geopoly.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/rtree/geopoly.c b/ext/rtree/geopoly.c
index 14facad53..35294c8d8 100644
--- a/ext/rtree/geopoly.c
+++ b/ext/rtree/geopoly.c
@@ -683,6 +683,8 @@ static GeoPoly *geopolyBBox(
aCoord[2].f = mnY;
aCoord[3].f = mxY;
}
+ }else{
+ memset(aCoord, 0, sizeof(RtreeCoord)*4);
}
return pOut;
}