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

xml-schema: Fix refcount handling for ni_xs_type_t #907

Conversation

cfconrad
Copy link
Collaborator

If the loaded xml-schema is errournous (e.g. a typo or missing include),
the cleanup can hit a ni_assert(), because of missing refcount increment
of the "array-element" type referenced in "array" type.

If the loaded xml-schema is errournous (e.g. a typo or missing include),
the cleanup can hit a ni_assert(), because of missing refcount increment
of the "array-element" type referenced in "array" type.
Copy link
Member

@mtomaschewski mtomaschewski left a comment

Choose a reason for hiding this comment

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

Tested, works fine for me.

@mtomaschewski mtomaschewski merged commit 3df9735 into openSUSE:master Apr 1, 2022
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.

None yet

2 participants