Re: Collection of memory leaks for ECPG driver

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>, Michael Meskes <meskes(at)postgresql(dot)org>
Subject: Re: Collection of memory leaks for ECPG driver
Date: 2015-06-15 12:33:41
Message-ID: 20150615123341.GA12001@feivel.credativ.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Jun 14, 2015 at 08:43:13PM +0900, Michael Paquier wrote:
> point out that there is still a leak in connect.c. Per se the attached
> patch, that does not check for a NULL pointer before ecpg_free because
> other code paths in the routine patched don't do so. So you get
> something locally consistent ;)

Thanks, committed.

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.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-06-15 12:47:12 Re: "could not adopt C locale" failure at startup on Windows
Previous Message Vik Fearing 2015-06-15 10:06:56 Re: creating extension including dependencies