diff options
author | Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com> | 2014-04-25 18:47:55 -0300 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com> | 2014-04-25 19:49:55 -0300 |
commit | 1404e2a389fcaa7ebc7852ee74c96641c394fa14 (patch) | |
tree | 0cdf573d5a01f5e5a7f358518a09e32dd72908e2 /ffserver.c | |
parent | 107f2468c4fca85ef343f2e84f37bf2d4d00227a (diff) | |
download | ffmpeg-1404e2a389fcaa7ebc7852ee74c96641c394fa14.tar.gz |
ffserver: free AVStream st before wiping context
Should fix FFmpeg Coverity Scan issue #732269
Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c index ea0ccd8e6a..cc736cb871 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3468,6 +3468,7 @@ static int rtp_new_av_stream(HTTPContext *c, fail: if (h) ffurl_close(h); + av_free(st); av_free(ctx); return -1; } |