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

Started by Tom Lanealmost 17 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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)