Re: new pre-release: 20040808

David Jensen <djensen@xxxxxxxxxxxxx> wrote:

> > 
> > If it ain't broken, don't fix it. :)
> and another cpbar mem leak, maybe, i dont know glist well.

according to devhelp you are right.

> 
> should there not be a 'for' loop to free the strings created by
> gstrdup before the const_list of them is freed?
> ===========
> GList *p =g_list_first(const_list);
> for ( ; p != NULL; p = p->next )
>       delete p->data;
> ===========
> 
> or some such?

definitely.

regards,
        Florian Zaehringer


-- 
Users can unsubscribe from the list by sending email to 
emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by 
logging into the web interface.

Other related posts: