Re: BUG #1440: ecpg seg faults - Mailing list pgsql-bugs

From Michael Meskes
Subject Re: BUG #1440: ecpg seg faults
Date
Msg-id 20050125125233.GA16051@1
Whole thread Raw
In response to Re: BUG #1440: ecpg seg faults  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: BUG #1440: ecpg seg faults
List pgsql-bugs
On Mon, Jan 24, 2005 at 03:24:13PM -0500, Tom Lane wrote:
> Edmund Bacon <ebacon@onesystem.com> writes:
> > njamd says:
> > NJAMD/free: Double free of address 0x41454ff4
>
> > #4  0x40021e87 in free () from /usr/lib/libnjamd.so
>
> OK, here's where I defer to Michael Meskes to actually fix it ;-)

Thanks for the report and the analysis. I just committed a fixe. It
should work correctly now.

As you probably expected the memory was free'ed twice.

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: Tom Lane
Date:
Subject: Re: incorrect index behaviour with rtree on box values
Next
From: "Martin Drinck"
Date:
Subject: BUG #1439: unable to create more than 21 database connections