Skip site navigation (1) Skip section navigation (2)

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:58
Message-ID: 20100130185958.49E8F7541B9@cvs.postgresql.org (view raw or flat)
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.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/src/bin/psql:
        print.c (r1.116 -> r1.116.2.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/print.c?r1=1.116&r2=1.116.2.1)

pgsql-committers by date

Next:From: Tom LaneDate: 2010-01-30 20:09:53
Subject: pgsql: Avoid performing encoding conversion on command tag strings
Previous:From: Tom LaneDate: 2010-01-30 18:59:51
Subject: pgsql: Fix memory leakage introduced into print_aligned_text by 8.4

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group