Skip to content

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Dec 4, 2024

Don't free the underlying nodes if we still have objects pointing to them, otherwise the objects are left with a NULL node pointer.

Don't free the underlying nodes if we still have objects pointing to
them, otherwise the objects are left with a NULL node pointer.
@nielsdos nielsdos marked this pull request as ready for review December 5, 2024 06:44
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

MSTM

@nielsdos nielsdos closed this in 7acc3ac Dec 6, 2024
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 2025
Don't free the underlying nodes if we still have objects pointing to
them, otherwise the objects are left with a NULL node pointer.

Closes phpGH-17046.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SimpleXML's unset can break DOM objects
2 participants