diff --git a/hypopg_index.c b/hypopg_index.c index f8c7a23..ac3b05e 100644 --- a/hypopg_index.c +++ b/hypopg_index.c @@ -1289,9 +1289,6 @@ hypopg(PG_FUNCTION_ARGS) tuplestore_putvalues(tupstore, tupdesc, values, nulls); } - /* clean up and return the tuplestore */ - tuplestore_donestoring(tupstore); - return (Datum) 0; } @@ -1371,9 +1368,6 @@ hypopg_create_index(PG_FUNCTION_ARGS) i++; } - /* clean up and return the tuplestore */ - tuplestore_donestoring(tupstore); - return (Datum) 0; } @@ -1719,9 +1713,6 @@ hypopg_hidden_indexes(PG_FUNCTION_ARGS) tuplestore_putvalues(tupstore, tupdesc, values, nulls); } - /* clean up and return the tuplestore */ - tuplestore_donestoring(tupstore); - return (Datum) 0; }