gmyth-stream/client/src/gmyth-stream-client.c
branchtrunk
changeset 576 6ee1dc7357e8
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 Apr 19 21:22:26 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