diff options
Diffstat (limited to 'src/bin/scripts/reindexdb.c')
-rw-r--r-- | src/bin/scripts/reindexdb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bin/scripts/reindexdb.c b/src/bin/scripts/reindexdb.c index b2c0400cb9c..14a4f4a91c7 100644 --- a/src/bin/scripts/reindexdb.c +++ b/src/bin/scripts/reindexdb.c @@ -473,6 +473,12 @@ reindex_one_database(const char *dbname, ReindexType type, failed = true; finish: + if (process_list != user_list) + { + simple_string_list_destroy(process_list); + pg_free(process_list); + } + ParallelSlotsTerminate(slots, concurrentCons); pfree(slots); |