Skip to content
Snippets Groups Projects
Commit 1404e2a3 authored by Reynaldo H. Verdejo Pinochet's avatar Reynaldo H. Verdejo Pinochet
Browse files

ffserver: free AVStream st before wiping context


Should fix FFmpeg Coverity Scan issue #732269

Signed-off-by: default avatarReynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
parent 107f2468
No related branches found
No related tags found
No related merge requests found
...@@ -3468,6 +3468,7 @@ static int rtp_new_av_stream(HTTPContext *c, ...@@ -3468,6 +3468,7 @@ static int rtp_new_av_stream(HTTPContext *c,
fail: fail:
if (h) if (h)
ffurl_close(h); ffurl_close(h);
av_free(st);
av_free(ctx); av_free(ctx);
return -1; return -1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment