# HG changeset patch # User reimar # Date 1160299950 0 # Node ID 1494f672c99d65007a139f1263ab70c8eb61b91f # Parent abf8f12ea6ed88070d330dd32dd776c56c1e007d Forgotten http_free on send error. diff -r abf8f12ea6ed -r 1494f672c99d stream/asf_streaming.c --- 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;