ffserver: free AVStream st before wiping context

Should fix FFmpeg Coverity Scan issue #732269
Signed-off-by: 's avatarReynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
parent 107f2468
......@@ -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;
}
......
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