In article <21641(dot)1316159544(at)sss(dot)pgh(dot)pa(dot)us>,
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Harald Fuchs <hari(dot)fuchs(at)gmail(dot)com> writes:
>> I think I've found a bug either in PostgreSQL 9.1.0 or in the ip4r
>> package (version 1.05).
> Good catch --- gistendscan is forgetting to free so->giststate.
Confirmed - adding a "pfree(so->giststate)" solves my problem. Thanks
for the quick fix!