aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-09-18 15:03:34 -0700
committerReynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>2015-09-18 16:24:38 -0700
commitc677b42f795a77f264528424294f9a5c8949345f (patch)
treee1e52ba5268864e4059e615bd21569a48f93942f
parentfb349359dc9ce7b794106ee5e5f4e33c1b56a449 (diff)
downloadffmpeg-c677b42f795a77f264528424294f9a5c8949345f.tar.gz
ffserver: explicitly free() duped filename
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
-rw-r--r--ffserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index 5b98e7a0c5..032ce227da 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);