diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-08 09:32:30 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-08 09:32:30 +0000 |
commit | b47b78a8d2689f8f4a1e4b2c3b6d30ef44daad1f (patch) | |
tree | 635aed42e600d2127c921e13691064ebd6371aaf /stream/asf_streaming.c | |
parent | 48ff1ab95e82eeb1a47770c348abd26f1e675bae (diff) | |
download | mpv-b47b78a8d2689f8f4a1e4b2c3b6d30ef44daad1f.tar.bz2 mpv-b47b78a8d2689f8f4a1e4b2c3b6d30ef44daad1f.tar.xz |
Forgotten http_free on send error.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20106 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/asf_streaming.c')
-rw-r--r-- | stream/asf_streaming.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/asf_streaming.c b/stream/asf_streaming.c index bc9d082f38..491c44ba22 100644 --- a/stream/asf_streaming.c +++ b/stream/asf_streaming.c @@ -745,6 +745,7 @@ static int asf_http_streaming_start( stream_t *stream, int *demuxer_type ) { 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; |