Fix double free of *http_hdr at server error.
commita36aff154c79988b42afc624164a8d79cbf7a695
authoriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 30 Dec 2006 13:23:39 +0000 (30 13:23 +0000)
committeriive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sat, 30 Dec 2006 13:23:39 +0000 (30 13:23 +0000)
tree7bf178ec0d3970f6b0c4ef5ceddf2203e2fd547f
parent74ec945b2044a6ce47c0ca37156bc1a3fd1cde12
Fix double free of *http_hdr at server error.

In http.c::http_streaming_start() *http_hdr is allocated
then assigned to stream->streaming_ctrl->data
if server returns error *http_hdr is freed before function returns.
However the copy in ->data remains and is
later freed (again) by network.c::streaming_ctrl_free().

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21792 b3059339-0415-0410-9bf9-f77b7e298cf2
stream/http.c