Re: [PATCH BlueZ 1/6] Make use of g_slist_free_full when elements are dynamically-allocated
From: Lucas De Marchi <hidden> Date: 2011-06-29 18:57:07
Hi Luiz,
On Wed, Jun 29, 2011 at 5:52 AM, Luiz Augusto von Dentz
[off-list ref] wrote:
From: Luiz Augusto von Dentz <redacted>
This avoid having to iterate twice in the list to free its elements.
I like this. Another thing that I think it'd be nice to use is
g_io_channel_set_close_on_unref() instead of unref() + shutdown() in
several places. What do you think?
Lucas De Marchi