Actions
Bug #1929
closed
RW
JI
yaml: ConfYamlHandleInclude memleak
Bug #1929:
yaml: ConfYamlHandleInclude memleak
Affected Versions:
Effort:
Difficulty:
Label:
Description
The ConfYamlHandleInclude (conf-yaml-loader.c) returns early if either fopening the file to be included fails or if ConfYamlParser signals an error processing it. In the first case, memory allocated to the yaml_parser_t object (parser) is leaked as the yaml_parser_delete function isn't called for it. For the second case, the open stream referring to the include file is additionally left open.
Files
Actions