Fix nasty memory leak in pg_restore: _PrintData called inflateInit but
Tom Lane <tgl@sss.pgh.pa.us>
Fix nasty memory leak in pg_restore: _PrintData called inflateInit but never did inflateEnd, thus leaking some tens of KB per call. Which added up *real fast* when dealing with, say, thousands of BLOBs. Thanks to Lane Rollins for the bug report.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_backup_custom.c | modified | +3 −1 |