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

Re: Some memory management problems



joda@pdc.kth.se (Johan Danielsson) writes:
> GOMBAS Gabor <gombasg@inf.elte.hu> writes:
> 
> > I've found some memory management problems in Heimdal (malloc'ing 0
> > bytes; free'ing NULL
> 
> It's perfectly ok to free NULL and to malloc 0 bytes.

Where do you have problems with freeing NULL and mallocing 0 bytes?
If it's with efence you can probably solve the last problem by setting
EF_ALLOC_MALLOC_0.

/assar