diff --git a/src/ivfscan.c b/src/ivfscan.c index b4501cb..fa3961b 100644 --- a/src/ivfscan.c +++ b/src/ivfscan.c @@ -170,6 +170,8 @@ GetScanItems(IndexScanDesc scan, Datum value) } } + FreeAccessStrategy(bas); + /* TODO Scan more lists */ if (tuples < 100) ereport(DEBUG1, diff --git a/src/ivfvacuum.c b/src/ivfvacuum.c index e3a0def..f9725f7 100644 --- a/src/ivfvacuum.c +++ b/src/ivfvacuum.c @@ -132,6 +132,8 @@ ivfflatbulkdelete(IndexVacuumInfo *info, IndexBulkDeleteResult *stats, } } + FreeAccessStrategy(bas); + return stats; }