branch | trunk |
changeset 624 | f41dd580496b |
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 Thu May 03 15:55:19 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