[postgis-devel] && GIST operator - continued
Carl Anderson
carl.anderson at vadose.org
Mon Mar 8 16:24:36 PST 2004
Mark, etal
I tracked down a palloc that was not freed in postgis_gist_72.c
plugging it definately clears this issue up for me.
Max allocation during same query now 5Mb (but a tad bit slower)
I see another unfreed instance of this function in ggeometry_compress
pls let me know if this is the right thing to do.
patch against postgis 0.8.1
************************************88
--- postgis_gist_72.c.old Fri Aug 8 14:19:20 2003
+++ postgis_gist_72.c Mon Mar 8 19:14:44 2004
@@ -172,6 +172,8 @@
result = rtree_internal_consistent((BOX *) DatumGetPointer(entry-
>key), thebox, strategy );
+ pfree(thebox);
+
PG_FREE_IF_COPY(query, 1);
PG_RETURN_BOOL(result);
}
More information about the postgis-devel
mailing list