Fix memory leakage introduced into print_aligned_text by 8.4 changes

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

Commit: 1ff05d09a01b660285f78ffb57dbaf79c83b09b8
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-01-30T18:59:58Z
Releases: 8.4.3
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 +7 −4