pgsql: Fix assorted memory leaks in pg_hba.conf parsing.

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix assorted memory leaks in pg_hba.conf parsing.
Date: 2009-10-03 20:04:39
Message-ID: 20091003200439.77267753FB7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Fix assorted memory leaks in pg_hba.conf parsing. Over a sufficiently
large number of SIGHUP cycles, these would have run the postmaster out
of memory. Noted while testing memory-leak scenario in postgresql.conf
configuration-change-printing patch.

Modified Files:
--------------
pgsql/src/backend/libpq:
hba.c (r1.191 -> r1.192)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/hba.c?r1=1.191&r2=1.192)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-10-03 20:04:45 pgsql: Fix assorted memory leaks in pg_hba.conf parsing.
Previous Message Tom Lane 2009-10-03 18:04:57 pgsql: Fix a couple of issues in recent patch to print updates to