Re: trivial one-off memory leak in guc-file.l ParseConfigFile

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: didier <did447(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: trivial one-off memory leak in guc-file.l ParseConfigFile
Date: 2013-09-24 15:06:23
Message-ID: CA+TgmoatHxzBrTF9rFNWbyCpzP4_zfNycVGUet9Y3q+YiyRdBg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Sep 22, 2013 at 3:40 PM, didier <did447(at)gmail(dot)com> wrote:
> fix a small memory leak in guc-file.l ParseConfigFile
>
> AbsoluteConfigLocation() return a strdup string but it's never free or
> referenced outside ParseConfigFile
>
> Courtesy Valgrind and Noah Misch MEMPOOL work.

I'd like to look at this, but I haven't got time right now. Could you
add it to the next CommitFest so it doesn't get forgotten about?

https://commitfest.postgresql.org/action/commitfest_view/open

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Albe Laurenz 2013-09-24 15:07:18 Re: LDAP: bugfix and deprecated OpenLDAP API
Previous Message Robert Haas 2013-09-24 15:04:06 Re: logical changeset generation v6