Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
conf: init parser after check with stat()
Commit changes are made to avoid possible memory leaks. If the parser is initialized before configuration file checking, there was no deinit call before function return. Do check config file existance and type before YAML parser initialization, so we don't need to deinit parser before exiting the function. Bug: OISF#7302
- Loading branch information