[Spice-devel] [PATCH spice-gtk 2/2] gtk-session: weak reference the session for clipboard cb

Marc-André Lureau marcandre.lureau at gmail.com
Wed Jan 18 06:33:31 PST 2012


On Wed, Jan 18, 2012 at 3:12 PM, Marc-André Lureau
<marcandre.lureau at gmail.com> wrote:
> +    g_object_weak_unref(weakref->object, (GWeakNotify)weak_notify_cb, weakref);

I am adding a if (weakref->object) check here, because the object may
be nulled already.

-- 
Marc-André Lureau


More information about the Spice-devel mailing list