branch | trunk |
changeset 670 | 85d9b58f86b0 |
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 Wed May 16 17:04:46 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