[kaffe] gc_free vs. KFREE
robilad at yahoo.com
Wed Apr 2 14:42:02 PST 2003
--- Marc Kleine-Budde <kleine-budde at gmx.de> wrote:
> On Wed, Apr 02, 2003 at 06:05:39AM -0800, Dalibor
> Topic wrote:
> > > Okay. Remeber never mix gc_* and K* calls. But
> > > you have a look at the
> > > CVS-sources
> > > lines 26-36. The mem
> > > for the str is alloced via KMALLOC, but later
> > > with gc_free. It
> > > this a bug?
> > Yeah, I think so. I've attached a patch to fix it,
> > (and a similar case below). could you give it a
> > and see if it breaks anything?
> Thanks for the patch, in my project it works, but I
> can't do serious
> tests yet cause some important parts are missing :)
Fair enough, it worked for me on Linux & Cygwin, so I
checked it in.
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
More information about the kaffe