Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix loading confd files and related memory leaks #254

Merged
merged 1 commit into from
Apr 22, 2023

Conversation

engelmi
Copy link
Member

@engelmi engelmi commented Apr 22, 2023

This PR fixes #251 by passing the assembled file path (not only the file name) to cfg_load_from_file(), properly freeing memory in cfg_load_from_dir() and only freeing cfg once.

Signed-off-by: Michael Engel <mengel@redhat.com>
@rhatdan
Copy link
Contributor

rhatdan commented Apr 22, 2023

LGTM

Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@mwperina mwperina merged commit fe13307 into main Apr 22, 2023
@mwperina mwperina deleted the fix-confd-and-memory-leaks branch April 22, 2023 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hirte sometimes crashing when running inside CS9 container
4 participants