[Spice-devel] [PATCH spice-gtk 15/15] channel-main: Free flushing list on agent reset and dispose

Marc-André Lureau marcandre.lureau at gmail.com
Sun Mar 10 07:43:32 PDT 2013


On Sat, Mar 9, 2013 at 12:06 PM, Hans de Goede <hdegoede at redhat.com> wrote:
> +    g_slist_free_full(c->flushing, g_object_unref);

It's better unref'ing references in dispose() to break ref cycles,
since agent reset is called on dispose (disconnect), this is probably
redundant.


-- 
Marc-André Lureau


More information about the Spice-devel mailing list