Re: fix memory leak in libpq

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: fix memory leak in libpq
Date: 2003-10-18 05:04:17
Message-ID: 28936.1066453457@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Neil Conway <neilc(at)samurai(dot)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

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2003-10-18 06:06:21 Re: [HACKERS] random_fract and aix compiler bug
Previous Message Tom Lane 2003-10-18 04:46:50 Re: [HACKERS] random_fract and aix compiler bug