fix memory leak in libpq

From: Neil Conway <neilc(at)samurai(dot)com>
To: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: fix memory leak in libpq
Date: 2003-10-18 03:47:22
Message-ID: 1066448842.378.2.camel@tokyo
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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().

-Neil

Attachment Content-Type Size
libpq-mem-leak-1.patch text/x-patch 786 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Zeugswetter Andreas SB SD 2003-10-18 03:54:14 Re: [HACKERS] random_fract and aix compiler bug
Previous Message Neil Conway 2003-10-17 20:50:03 Re: introduce "default_use_oids"