Fix memory leak in connection string validation.
authorJeff Davis <jdavis@postgresql.org>
Sat, 13 Jan 2024 05:38:16 +0000 (21:38 -0800)
committerJeff Davis <jdavis@postgresql.org>
Sat, 13 Jan 2024 05:40:23 +0000 (21:40 -0800)
commit45da69371ebfc4d6982695e58791989660c1cc33
treebd6717387f1947e608f6d7e7de04996f6bb5236a
parent2f696d5a2902333329a95fd80e351e4e6ecf8d4a
Fix memory leak in connection string validation.

Introduced in commit c3afe8cf5a.

Discussion: https://postgr.es/m/066a65233d3cb4ea27a9e0778d2f1d0dc764b222.camel@j-davis.com
Reviewed-by: Nathan Bossart, Tom Lane
Backpatch-through: 16
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c