pgsql: Fix assorted memory leaks in pg_hba.conf parsing. - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix assorted memory leaks in pg_hba.conf parsing.
Date
Msg-id 20091003200439.77267753FB7@cvs.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix a couple of issues in recent patch to print updates to
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix assorted memory leaks in pg_hba.conf parsing.