OSDN Git Service

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:51 +0000 (18:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Jan 2010 18:59:51 +0000 (18:59 +0000)
commit07be293a971af2180f94dd571021df711dd343ac
treec2e3641e4b3f258d6e0936f31712ec45b59a0b26
parent3e51ae491de5c1c998546096e7cbaba4bb56e884
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