branch | trunk |
changeset 608 | 43ce4ea2f9fb |
parent 534 | cb1c3e2988b9 |
1.1 --- a/gmyth-stream/client/src/gmyth-stream-client.c Thu Apr 12 20:35:08 2007 +0100 1.2 +++ b/gmyth-stream/client/src/gmyth-stream-client.c Tue May 01 16:04:02 2007 +0100 1.3 @@ -171,7 +171,8 @@ 1.4 1.5 close (priv->sock->fd); 1.6 //shutdown (priv->sock->fd, SHUT_RDWR); 1.7 - priv->sock->fd = -1; 1.8 + g_free(priv->sock); 1.9 + priv->sock = NULL; 1.10 priv->connected = FALSE; 1.11 } 1.12