Mercurial > mplayer.hg
diff stream/asf_streaming.c @ 20100:1494f672c99d
Forgotten http_free on send error.
author | reimar |
---|---|
date | Sun, 08 Oct 2006 09:32:30 +0000 |
parents | 2a9d669e5ff6 |
children | 21263c9ddd87 |
line wrap: on
line diff
--- a/stream/asf_streaming.c Sun Oct 08 09:28:49 2006 +0000 +++ b/stream/asf_streaming.c Sun Oct 08 09:32:30 2006 +0000 @@ -745,6 +745,7 @@ int r = send( fd, http_hdr->buffer+i, http_hdr->buffer_size-i, 0 ); if(r <0) { mp_msg(MSGT_NETWORK,MSGL_ERR,MSGTR_MPDEMUX_ASF_SocketWriteError,strerror(errno)); + http_free( http_hdr ); return -1; } i += r;