[Spice-devel] [PATCH spice-gtk 3/6] spice-channel: remove unnecessary g_socket_close()

Marc-André Lureau marcandre.lureau at gmail.com
Fri Aug 24 06:58:16 PDT 2012


---
 gtk/spice-channel.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c
index 37198f5..eb113db 100644
--- a/gtk/spice-channel.c
+++ b/gtk/spice-channel.c
@@ -2379,7 +2379,6 @@ static void channel_reset(SpiceChannel *channel, gboolean migrating)
     }
 
     if (c->sock) {
-        g_socket_close(c->sock, NULL);
         g_object_unref(c->sock);
         c->sock = NULL;
     }
-- 
1.7.11.4



More information about the Spice-devel mailing list