projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07fca60
)
Free ignorelist after each regression test schedule.
author
Kevin Grittner
Wed, 13 Nov 2013 15:01:06 +0000
(09:01 -0600)
committer
Kevin Grittner
Wed, 13 Nov 2013 15:01:06 +0000
(09:01 -0600)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/test/regress/pg_regress.c
b/src/test/regress/pg_regress.c
index a902e9b8bec17fcc9e357002d4943990ce0b1af5..e8dec46e23a051bfd4205f7c14ea1ce4655fdb30 100644
(file)
--- 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);
}