comparison stream/http.c @ 21542:0c19aa6f8e4e

Fix misplaced http_free
author reimar
date Sat, 09 Dec 2006 19:50:08 +0000
parents 3b4ed8857b38
children 546cf4a6377a
comparison
equal deleted inserted replaced
21541:3b4ed8857b38 21542:0c19aa6f8e4e
856 } while( redirect ); 856 } while( redirect );
857 857
858 err_out: 858 err_out:
859 if (fd > 0) closesocket( fd ); 859 if (fd > 0) closesocket( fd );
860 res = -1; 860 res = -1;
861 http_free( http_hdr );
861 out: 862 out:
862 http_free( http_hdr );
863 return res; 863 return res;
864 } 864 }
865 865
866 static int fixup_open(stream_t *stream,int seekable) { 866 static int fixup_open(stream_t *stream,int seekable) {
867 HTTP_header_t *http_hdr = stream->streaming_ctrl->data; 867 HTTP_header_t *http_hdr = stream->streaming_ctrl->data;