[Spice-devel] [spice-gtk PATCHv2] Keep GSocketConnection around after initial connect

Christophe Fergeau cfergeau at redhat.com
Wed Mar 27 10:12:19 PDT 2013


On Wed, Mar 27, 2013 at 12:03:40PM -0400, Marc-André Lureau wrote:
> > @@ -2209,6 +2209,7 @@ reconnect:
> >              goto cleanup;
> >          }
> >      }
> > +    c->sock =
> > g_object_ref(G_OBJECT(g_socket_connection_get_socket(c->conn)));
> 
> The G_OBJECT is unnecessary

Yeah I know, I tend to add it for some sanity checks (ie it's likely to
catch attempts to free already freed memory, ..).

I'll remove and push.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130327/fff7438b/attachment.pgp>


More information about the Spice-devel mailing list