]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix memory leakage introduced into print_aligned_text by 8.4 changes
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Jan 2010 18:59:58 +0000 (18:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Jan 2010 18:59:58 +0000 (18:59 +0000)
commit1ff05d09a01b660285f78ffb57dbaf79c83b09b8
tree5f5099a2658eccb49bb7fb3c58d1339557cd4b1b
parent96b0da67ff82268d6d2dc6eeabaa277ba4a2fab4
Fix memory leakage introduced into print_aligned_text by 8.4 changes
(failure to free col_lineptrs[] array elements) and exacerbated in the
current devel cycle (failure to free "wrap").  This resulted in moderate
bloat of psql over long script runs.  Noted while testing bug #5302,
although what the reporter was complaining of was backend-side leakage.
src/bin/psql/print.c