mirror of https://git.ffmpeg.org/ffmpeg.git
ffserver: explicitly free() duped filename
Signed-off-by: Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com>
This commit is contained in:
parent
fb349359dc
commit
c677b42f79
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue