pgsql: Don't leak malloc'd error string in libpqrcv_check_conninfo().

2021-03-18 Thread Tom Lane
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

pgsql: Don't leak malloc'd error string in libpqrcv_check_conninfo().

2021-03-18 Thread Tom Lane
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

pgsql: Don't leak malloc'd error string in libpqrcv_check_conninfo().

2021-03-18 Thread Tom Lane
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

pgsql: Don't leak malloc'd error string in libpqrcv_check_conninfo().

2021-03-18 Thread Tom Lane
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

pgsql: Don't leak malloc'd error string in libpqrcv_check_conninfo().

2021-03-18 Thread Tom Lane
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