bug-mailutils
[Top][All Lists]
Advanced

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

RE: [bug-mailutils] mu_list_remove/replace


From: Andrew Barnes
Subject: RE: [bug-mailutils] mu_list_remove/replace
Date: Wed, 10 Jun 2009 11:58:30 +0000

Hi,

Personally, I would lean towards freeing the remove/replace'd item as long as the destroy function has been specified, but I can accept that there may be cases where this may not be desirable or necessary.

I guess all that's needed is to call mu_list_locate before calling mu_list_remove/replace and the caller can then do whatever it wants with the unwanted item. Maybe that's sufficient and it would mean that existing programs would not need changing.

What does everyone else think?

Andy

> Date: Wed, 10 Jun 2009 12:46:20 +0300
> From: address@hidden
> To: address@hidden
> CC: address@hidden
> Subject: Re: [bug-mailutils] mu_list_remove/replace
>
> Andrew Barnes <address@hidden> ha escrit:
>
> > I've been looking at the list handling routines and I don't think that
> > mu_list_remove and mu_list_replace is calling destroy_item to
> > actually release the item.
>
> No, they does not. Actually, they are not supposed to: it is the
> caller's responsibility. Do you think this should be changed?
>
> Regards,
> Sergey


Beyond Hotmail - see what else you can do with Windows Live. Find out more.

reply via email to

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