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>
This commit is contained in:
parent
107f2468c4
commit
1404e2a389
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user