Re: [PATCH] memory leak in ecpglib

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: "Zhang, Jie" <zhangjie2(at)cn(dot)fujitsu(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] memory leak in ecpglib
Date: 2019-07-02 02:01:24
Message-ID: 6dda39a3193dae707e560c4ad96002098197ab13.camel@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

> Memory leaks occur when the ecpg_update_declare_statement() is called
> the second time.
> ...

I'm going to commit this patch HEAD, this way we can see if it works as
advertised. It does not hurt if it gets removed by a rewrite.

Thanks for finding the issue,

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! SF 49ers! Use Debian GNU/Linux, PostgreSQL

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2019-07-02 02:03:24 Re: Code comment change
Previous Message Tom Lane 2019-07-02 02:00:29 Re: Rearranging ALTER TABLE to avoid multi-operations bugs