pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Josh Kupershmidt <schmiddy@gmail.com>
Cc: zaks.anna@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6672: Memory leaks in dumputils.c
Date: Sun, 03 Jun 2012 11:54:29 -0400
Message-ID: <10452.1338738869@sss.pgh.pa.us> (raw)
In-Reply-To: <CAK3UJREivjfksWk2KZZMNR3OgEpPvt+RT=ARhQhF9GxkDo7+SQ@mail.gmail.com>
References: <E1SaDxz-0004Vi-8t@wrigleys.postgresql.org>
	<2620.1338527206@sss.pgh.pa.us>
	<CAK3UJREivjfksWk2KZZMNR3OgEpPvt+RT=ARhQhF9GxkDo7+SQ@mail.gmail.com>

Josh Kupershmidt <schmiddy@gmail.com> writes:
>> zaks.anna@gmail.com writes:
>>> There are two memory leaks in dumputils (v9.2.0beta1):

> ... Both of these errors seem academic, since the callers
> of buildACLCommands() will bail out with exit_horribly() or
> exit_nicely() if it returns false. But IMO it's worth fixing anyway,
> to keep the compilers happy or in case of future code calling
> buildACLCommands() or parseAclItem().

Agreed.

> Attached is a patch to hopefully fix those two errors.

Applied, thanks.

			regards, tom lane



view thread (13+ messages)  latest in thread

Message-ID: <10452.1338738869@sss.pgh.pa.us>
Permalink:  ../10452.1338738869@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10452.1338738869@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, schmiddy@gmail.com, zaks.anna@gmail.com
  Subject: Re: BUG #6672: Memory leaks in dumputils.c
  In-Reply-To: <10452.1338738869@sss.pgh.pa.us>
  References: <E1SaDxz-0004Vi-8t@wrigleys.postgresql.org> <2620.1338527206@sss.pgh.pa.us> <CAK3UJREivjfksWk2KZZMNR3OgEpPvt+RT=ARhQhF9GxkDo7+SQ@mail.gmail.com> <10452.1338738869@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox