pgsql: Fix memory leakage introduced into print_aligned_text by 8.4

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix memory leakage introduced into print_aligned_text by 8.4
Date: 2010-01-30 18:59:51
Message-ID: 20100130185951.519F27541B9@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/bin/psql:
print.c (r1.120 -> r1.121)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/print.c?r1=1.120&r2=1.121)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-01-30 18:59:58 pgsql: Fix memory leakage introduced into print_aligned_text by 8.4
Previous Message User Maosen 2010-01-30 13:41:04 pgexternaltable - src: New Directory