From fe67d252337ef2aba3d4ea06a4aa87cdbc75b933 Mon Sep 17 00:00:00 2001 From: Kevin Grittner Date: Wed, 13 Nov 2013 09:01:06 -0600 Subject: [PATCH] Free ignorelist after each regression test schedule. It's a trivial amount of RAM held until the end of the regression test run; but it's probably worth fixing to silence future warnings from code analyzers. This was the only memory leak pointed out by clang's static code analysis tool. --- src/test/regress/pg_regress.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c index a902e9b8be..e8dec46e23 100644 --- a/src/test/regress/pg_regress.c +++ b/src/test/regress/pg_regress.c @@ -1655,6 +1655,8 @@ run_schedule(const char *schedule, test_function tfunc) } } + free_stringlist(&ignorelist); + fclose(scf); } -- 2.40.0