[MPlayer-cvslog] r20106 - trunk/stream/asf_streaming.c

reimar subversion at mplayerhq.hu
Sun Oct 8 11:32:30 CEST 2006


Author: reimar
Date: Sun Oct  8 11:32:30 2006
New Revision: 20106

Modified:
   trunk/stream/asf_streaming.c

Log:
Forgotten http_free on send error.


Modified: trunk/stream/asf_streaming.c
==============================================================================
--- trunk/stream/asf_streaming.c	(original)
+++ trunk/stream/asf_streaming.c	Sun Oct  8 11:32:30 2006
@@ -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;



More information about the MPlayer-cvslog mailing list