Re: [CHECKER] 4 memory leaks in Postgresql 7.4.2 - Mailing list pgsql-bugs

From Ted Kremenek
Subject Re: [CHECKER] 4 memory leaks in Postgresql 7.4.2
Date
Msg-id 200407081751.i68Hp4qs006615@smtp-roam.Stanford.EDU
Whole thread Raw
In response to Re: [CHECKER] 4 memory leaks in Postgresql 7.4.2  (Michael Meskes <meskes@postgresql.org>)
List pgsql-bugs
Thank you for the confirmation.

Best,
Ted

-----Original Message-----
From: Michael Meskes [mailto:meskes@postgresql.org]
Sent: Monday, July 05, 2004 11:55 AM
To: Tom Lane
Cc: Neil Conway; Ted Kremenek; pgsql-bugs@postgresql.org; Michael Meskes
Subject: Re: [BUGS] [CHECKER] 4 memory leaks in Postgresql 7.4.2

On Sun, May 02, 2004 at 07:50:46PM -0400, Tom Lane wrote:
> >> [BUG] memory leak on error path (dtype != DTK_DELTA)
> >> File where bug occurred:
> >> postgresql-7.4.2/src/interfaces/ecpg/pgtypeslib/interval.c
>
> > Looks suspicious to me, but ECPG is Michael Meskes' domain -- Michael?
>
> It's entirely likely that ecpg's derivative of the backend's datetime
> modules contains lots and lots of memory leaks, since AFAIK the palloc
> infrastructure is not there in the ecpg environment :-(.

This is true of course. But I'm hopeful we found most of the possible
leaks. This one certainly was not found.

Fix just committed.

Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

pgsql-bugs by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: 7.4: serial not working ?
Next
From: Markus Bertheau
Date:
Subject: compile error in contrib/xml2