config_file.c - fix Coverity warning - resource leak of
path
This commit is contained in:
parent
04e6554ad6
commit
515918f80c
|
@ -289,6 +289,7 @@ static bool parse_line(config_file_t *conf,
|
||||||
fprintf(stderr, "!!! #include depth exceeded for config. Might be a cycle.\n");
|
fprintf(stderr, "!!! #include depth exceeded for config. Might be a cycle.\n");
|
||||||
else
|
else
|
||||||
add_sub_conf(conf, path);
|
add_sub_conf(conf, path);
|
||||||
|
free(path);
|
||||||
}
|
}
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue