diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-03-18 22:21:58 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-03-18 22:21:58 -0400 |
commit | ba986b7bc5cf2cc9f586e553f78ab9b2b199fac2 (patch) | |
tree | 6d25beee4def2349d2b7325664d3869c6d21ac16 /src/backend/access/transam/commit_ts.c | |
parent | 5058e95a6ef99e03dd5e41c9cda531cbed721d53 (diff) | |
download | postgresql-ba986b7bc5cf2cc9f586e553f78ab9b2b199fac2.tar.gz postgresql-ba986b7bc5cf2cc9f586e553f78ab9b2b199fac2.zip |
Don't leak malloc'd error string in libpqrcv_check_conninfo().
We leaked the error report from PQconninfoParse, when there was
one. It seems unlikely that real usage patterns would repeat
the failure often enough to create serious bloat, but let's
back-patch anyway to keep the code similar in all branches.
Found via valgrind testing.
Back-patch to v10 where this code was added.
Discussion: https://postgr.es/m/3816764.1616104288@sss.pgh.pa.us
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions