Re: [BUG] in IMAP cache loading

On 2002.03.10 18:55:16 +0000 Emmanuel wrote:

> The line at the arrow should be removed or we will free a NULL-pointer 
> (indeed the while is over exactly when key.dptr is NULL). So it is at least 
> useless and at worst it will trigger a bug if free does not like 
> NULL-pointers.

if free() doesn't like a pointer it's a bug indeed as free() is required
to ignore null ptrs but you're right it's highly misleading

Carlos Morgado - chbm(at)chbm(dot)nu - -- gpgkey: 0x1FC57F0A FP:0A27 35D3 C448 3641 0573 6876 2A37 4BB2 1FC5 7F0A
Software is like sex; it's better when it's free. - Linus Torvalds

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