diff -r cb1c3e2988b9 -r 8105bca5313f gmyth-stream/client/src/gmyth-stream-client.c --- a/gmyth-stream/client/src/gmyth-stream-client.c Thu Apr 12 20:35:08 2007 +0100 +++ b/gmyth-stream/client/src/gmyth-stream-client.c Thu May 10 22:08:17 2007 +0100 @@ -171,7 +171,8 @@ close (priv->sock->fd); //shutdown (priv->sock->fd, SHUT_RDWR); - priv->sock->fd = -1; + g_free(priv->sock); + priv->sock = NULL; priv->connected = FALSE; }