Skip to content

Fix memory leak on XML generation error in comps_docgroup_xml() - #175

Open
prownd wants to merge 1 commit into
rpm-software-management:masterfrom
prownd:fix-memory-leak-on-XML-generation-error-in-comps_doc-s01
Open

prownd wants to merge 1 commit into
rpm-software-management:masterfrom
prownd:fix-memory-leak-on-XML-generation-error-in-comps_doc-s01

Conversation

@prownd

@prownd prownd commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

The localized name/description string was only freed after the error check of xmlTextWriterWriteString(), so it leaked when writing failed.

The localized name/description string was only freed after the
error check of xmlTextWriterWriteString(), so it leaked when writing
failed.

Signed-off-by: hanjinpeng <hanjinpeng@kylinos.cn>
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.

1 participant