diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-22 02:34:33 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-22 02:34:33 +0000 |
commit | 86771c68040de98c83be290defaf5d38afd716c2 (patch) | |
tree | 35830de6a1dea2005ada17cbe5ae4e0f258fb860 /ffserver.c | |
parent | f2972c8c824625b54a86c6f5993ba380db75b443 (diff) | |
download | ffmpeg-86771c68040de98c83be290defaf5d38afd716c2.tar.gz |
free pb
Originally committed as revision 13872 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c index fd1418f5b6..493d22e2ed 100644 --- a/ffserver.c +++ b/ffserver.c @@ -2500,6 +2500,7 @@ static int http_receive_data(HTTPContext *c) /* Now we have the actual streams */ if (s->nb_streams != feed->nb_streams) { av_close_input_stream(s); + av_free(pb); goto fail; } @@ -2508,6 +2509,7 @@ static int http_receive_data(HTTPContext *c) s->streams[i]->codec, sizeof(AVCodecContext)); av_close_input_stream(s); + av_free(pb); } c->buffer_ptr = c->buffer; } |