summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-06-27 12:45:04 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-06-27 12:45:04 -0400
commit7676d95949b1e33c1d20325c0231fc774364136e (patch)
tree0d6d884ca5b0a806d4853a39fc5d439b7f0c2a7a /src/backend/access/transam/xlog.c
parentf5b780c45ca6d8d4cd4d325ae4b3b60f75179472 (diff)
Remove memory leaks in isolationtester.
specscanner.l leaked a kilobyte of memory per token of the spec file. Apparently somebody thought that the introductory code block would be executed once; but it's once per yylex() call. A couple of functions in isolationtester.c leaked small amounts of memory due to not bothering to free one-time allocations. Might as well improve these so that valgrind gives this program a clean bill of health. Also get rid of an ugly static variable. Coverity complained about one of the one-time leaks, which led me to try valgrind'ing isolationtester, which led to discovery of the larger leak.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions