help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Gentoo 1.4 and Smalltalk 2.0i


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Gentoo 1.4 and Smalltalk 2.0i
Date: Mon, 3 Feb 2003 09:10:21 +0100
User-agent: Mutt/1.4i

> #6  _gst_mem_free (h=0x80a2700, mem=0x0) at alloc.c:356
> #7  0x0806e2c4 in free (block=0x0) at alloc.c:756
> #8  0x40040b29 in setlocale () from /lib/libc.so.6

If it is a bug, it does not look like I can do much about this.  Well, I
will add a check to alloc.c for freeing a NULL pointer and do nothing in
that case.  Does anybody know if such freeing is considered legal by ISO
C?

You can also try it out manually: near line 356 of alloc.c, at the
beginning of _gst_mem_free, add this line

   if (!mem) return;

Thanks,

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]