[PATCH v2 spice-gtk 2/5] spice-channel: remove unnecessary g_socket_close()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c
index 052ffce..f1ca476 100644
--- a/gtk/spice-channel.c
+++ b/gtk/spice-channel.c
@@ -2441,7 +2441,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.8.1.rc1.17.g75ed918

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]