Fix use of free in walsender error handling after a sysid mismatch.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Fix use of free in walsender error handling after a sysid mismatch. Found via valgrind. The bug exists since the introduction of the walsender, so backpatch to 9.0. Andres Freund
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/libpqwalreceiver/libpqwalreceiver.c | modified | +1 −0 |