Commit 593132ac authored by bcoudurier's avatar bcoudurier

free pb

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13872 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 15e0033e
...@@ -2500,6 +2500,7 @@ static int http_receive_data(HTTPContext *c) ...@@ -2500,6 +2500,7 @@ static int http_receive_data(HTTPContext *c)
/* Now we have the actual streams */ /* Now we have the actual streams */
if (s->nb_streams != feed->nb_streams) { if (s->nb_streams != feed->nb_streams) {
av_close_input_stream(s); av_close_input_stream(s);
av_free(pb);
goto fail; goto fail;
} }
...@@ -2508,6 +2509,7 @@ static int http_receive_data(HTTPContext *c) ...@@ -2508,6 +2509,7 @@ static int http_receive_data(HTTPContext *c)
s->streams[i]->codec, sizeof(AVCodecContext)); s->streams[i]->codec, sizeof(AVCodecContext));
av_close_input_stream(s); av_close_input_stream(s);
av_free(pb);
} }
c->buffer_ptr = c->buffer; c->buffer_ptr = c->buffer;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment