Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release logging related resources when mce makes an orderly exit
While closing logging is not necessary, doing it reduces noise during memory leak debugging. In the code the logging cleanup was made on abnormal exit paths, but omitted when making an orderly exit. Remove unnecessary mce_log_close() calls from abnormal exit paths. Perform logging cleanup actions on normal exit.
- Loading branch information
Showing
2 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters