]> granicus.if.org Git - postgresql/commit
Fix nasty memory leak in pg_restore: _PrintData called inflateInit but
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Nov 2001 23:48:12 +0000 (23:48 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Nov 2001 23:48:12 +0000 (23:48 +0000)
commite7257b8eb21345b6dc340b236a9213e079d05fba
treec9b0a33b5cec12af43412d1e986fe8dc6f761b72
parent1e99bf5e4cfb7c963a77f672efe6209b7202ac27
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.
src/bin/pg_dump/pg_backup_custom.c