From 1404e2a389fcaa7ebc7852ee74c96641c394fa14 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Fri, 25 Apr 2014 18:47:55 -0300 Subject: [PATCH] ffserver: free AVStream st before wiping context Should fix FFmpeg Coverity Scan issue #732269 Signed-off-by: Reynaldo H. Verdejo Pinochet --- ffserver.c | 1 + 1 file changed, 1 insertion(+) 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; }