diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-09-19 01:03:34 +0300 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2015-09-19 02:24:38 +0300 |
commit | c677b42f795a77f264528424294f9a5c8949345f (patch) | |
tree | e1e52ba5268864e4059e615bd21569a48f93942f | |
parent | fb349359dc9ce7b794106ee5e5f4e33c1b56a449 (diff) |
ffserver: explicitly free() duped filename
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
-rw-r--r-- | ffserver.c | 1 |
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); |