Fix memory leakage introduced into print_aligned_text by 8.4 changes

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 07be293a971af2180f94dd571021df711dd343ac
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-01-30T18:59:51Z
Releases: 9.0.0
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.

Files

PathChange+/−
src/bin/psql/print.c modified +8 −4