pgsql/src/bin/pg_dump pg_backup_custom.c

Started by Tom Laneover 24 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl@postgresql.org 01/11/27 18:48:12

Modified files:
src/bin/pg_dump: pg_backup_custom.c

Log message:
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.