aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-03-18 22:21:58 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-03-18 22:21:58 -0400
commit20f11ca0dbc2bd99de9c4866eec6722b8202e422 (patch)
tree1a2a8b79f33c985f6285aea892f7b472f7c25f3a /src/backend/access/gist/gistbuildbuffers.c
parent26a3ae06d85c835c04642c08e304e11821587ad2 (diff)
downloadpostgresql-20f11ca0dbc2bd99de9c4866eec6722b8202e422.tar.gz
postgresql-20f11ca0dbc2bd99de9c4866eec6722b8202e422.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/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions