Re: Resource leak in pg_dump.c caused by transforms

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Resource leak in pg_dump.c caused by transforms
Date: 2015-05-07 09:42:51
Message-ID: CABUevEzB1ToJWRegNhGCMtC-YUV-wJE7oRgNbZabFQ0aaW2wMQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, May 4, 2015 at 6:34 AM, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
wrote:

> Hi all,
>
> Coverity is complaining that getTransforms in pg_dump.c leaks a
> PQExpBuffer allocation.
> Please find attached a patch to fix the leak.
>

Applied, thanks.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2015-05-07 09:42:56 Re: Transforms patch not respecting if indentation
Previous Message Geoff Winkless 2015-05-07 09:01:27 Re: INSERT ... ON CONFLICT syntax issues