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:45
Message-ID: 20091003200445.124F0753FB7@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.

Tags:
----
REL8_4_STABLE

Modified Files:
--------------
pgsql/src/backend/libpq:
hba.c (r1.188 -> r1.188.2.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/libpq/hba.c?r1=1.188&r2=1.188.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2009-10-03 23:10:47 pgsql: Document the purpose of the GUC listen_addresses.
Previous Message Tom Lane 2009-10-03 20:04:39 pgsql: Fix assorted memory leaks in pg_hba.conf parsing.