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 | 12354839e874c1f6ebc5e1e5ebc1c6b5519eeea0 (patch) | |
tree | ada510459daad8b9e4d205b9790a511f69a54ad3 /src/backend/executor/nodeRecursiveunion.c | |
parent | 642b0b69b0638261fe81dfd9ca3b92927496f1cb (diff) | |
download | postgresql-12354839e874c1f6ebc5e1e5ebc1c6b5519eeea0.tar.gz postgresql-12354839e874c1f6ebc5e1e5ebc1c6b5519eeea0.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/executor/nodeRecursiveunion.c')
0 files changed, 0 insertions, 0 deletions