Re: [HACKERS] Patch for psql.c - Mailing list pgsql-hackers

From Marc G. Fournier
Subject Re: [HACKERS] Patch for psql.c
Date
Msg-id 4df9a3d71438092b03b12e258843f37c
Whole thread Raw
In response to [HACKERS] Patch for psql.c  (Tymm Twillman <tymm@coe.missouri.edu>)
List pgsql-hackers
This patch has been bounced to pgsql-patches@postgresql.org, from where it
will be reviewed/applied



On Mon, 2 Jun 1997, Tymm Twillman wrote:

> Gets rid of memory leaks that occur during regression tests (well, except
> for a leak in SGI's NIS handling stuff :) )...
>
> If someone would look over this and verify it; I want to be sure that
> after a PQexec, no matter what the result (barring NULL), the result
> should be cleared;  I pulled individual PQclears out of a case statement
> and dropped them at the end (lines 579-595) so that the PQclear will be
> hit no matter which case is hit.  Still getting acquainted :)
>
> -Tymm
>

Marc G. Fournier                                 scrappy@hub.org
Systems Administrator @ hub.org              scrappy@freebsd.org

------------------------------

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: [HACKERS] memory leak detection
Next
From: "Thomas G. Lockhart"
Date:
Subject: Re: [HACKERS] 6.1 issues resolved