Re: fix memory leak in libpq - Mailing list pgsql-patches

From Tom Lane
Subject Re: fix memory leak in libpq
Date
Msg-id 28936.1066453457@sss.pgh.pa.us
Whole thread Raw
In response to fix memory leak in libpq  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> This patch fixes a small memory leak in libpq: the 'pstatus' field of
> PGconn is a linked list of malloc'ed nodes, so it should be freed on
> PQfinish().

Arghh!  Can't believe I forgot to do that.  Patch applied --- many thanks.

            regards, tom lane

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] random_fract and aix compiler bug
Next
From: "Zeugswetter Andreas SB SD"
Date:
Subject: Re: [HACKERS] random_fract and aix compiler bug