diff options
Diffstat (limited to 'stream')
-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; |