Re: [Evolution-hackers] Possible memory leak
Philip Van Hoof <[email protected]> Tue, 15 Jan 2008 12:03:16 +0100
| Newsgroups | gmane.comp.gnome.apps.tinymail.devel,gmane.comp.gnome.evolution.devel |
|---|---|
| Message-ID | <1200394996.8584.0.camel@schtrumpf> |
On Tue, 2008-01-15 at 11:55 +0100, Jose Dapena Paz wrote: > El lun, 14-01-2008 a las 14:33 +0100, Philip Van Hoof escribió: > > > I think this needs to be something like this: > > > > GSList *item = cc->status_stack; > > cc->status_stack = g_slist_remove_link(cc->status_stack, item); > > g_slist_free (item); > > Or just use g_slist_delete_link: > > cc->status_stack = g_slist_delete_link (cc->status_stack, cc->status_stack); > AFAIK it frees the list node. This is what got committed, indeed. -- Philip Van Hoof, freelance software developer home: me at pvanhoof dot be gnome: pvanhoof at gnome dot org http://pvanhoof.be/blog http://codeminded.be _______________________________________________ tinymail-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/tinymail-devel-list