[FFmpeg-cvslog] ffserver: avoid leaking pathname at exit

Reynaldo H. Verdejo Pinochet git at videolan.org
Mon Oct 5 07:41:23 CEST 2015


ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com> | Sun Oct  4 22:29:49 2015 -0700| [fe95b0eb8fdfd8d531a03b621e1a21a6f3c87811] | committer: Reynaldo H. Verdejo Pinochet

ffserver: avoid leaking pathname at exit

Fixes Coverity CID 1325681

Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fe95b0eb8fdfd8d531a03b621e1a21a6f3c87811
---

 ffserver.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/ffserver.c b/ffserver.c
index 85c9f1f..1d4c8dc 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -471,6 +471,7 @@ static void start_children(FFServerStream *feed)
         av_free (pathname);
         _exit(1);
     }
+    av_free (pathname);
 }
 
 /* open a listening socket */



More information about the ffmpeg-cvslog mailing list