[FFmpeg-cvslog] ffserver: explicitly free() duped filename

Reynaldo H. Verdejo Pinochet git at videolan.org
Sat Sep 19 01:35:28 CEST 2015


ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <reynaldo at osg.samsung.com> | Fri Sep 18 15:03:34 2015 -0700| [c677b42f795a77f264528424294f9a5c8949345f] | committer: Reynaldo H. Verdejo Pinochet

ffserver: explicitly free() duped filename

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

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

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

diff --git a/ffserver.c b/ffserver.c
index 5b98e7a..032ce22 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3860,6 +3860,7 @@ int main(int argc, char **argv)
     if ((ret = ffserver_parse_ffconfig(config.filename, &config)) < 0) {
         fprintf(stderr, "Error reading configuration file '%s': %s\n",
                 config.filename, av_err2str(ret));
+        av_freep(&config.filename);
         exit(1);
     }
     av_freep(&config.filename);



More information about the ffmpeg-cvslog mailing list