Re: scripts/common.c minor memory leak

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: scripts/common.c minor memory leak
Date: 2006-10-04 09:46:35
Message-ID: 20061004094635.GB7063@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Tue, Oct 03, 2006 at 05:27:31PM -0400, Andrew Dunstan wrote:
> It is surely not the only memory leak. We know there are some and in
> most cases (like this) they aren't worth the trouble to clean up. If it
> were used in psql or the backend I'd be worried, but it isn't, so I'm not.

Ofcourse not. You don't see any messages about the other >100 leaks
found because I figure they're not worth the effort. This function is
used widely enough and a simple enough fix that I figured I might be
worth fixing.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Markus Schaber 2006-10-04 09:51:20 Re: tsearch2 error msg
Previous Message Markus Schaber 2006-10-04 09:41:28 Re: timestamptz alias

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-10-04 10:12:29 Re: vcbuild bison check
Previous Message Magnus Hagander 2006-10-04 07:30:30 Re: vcbuild bison check