Skip to content

Conversation

nielsdos
Copy link
Member

If there is no root, the namespace cannot be attached to it, so we have to attach it to the old list.

This isn't a problem in "new DOM" because namespaces are managed in a separate structure there.

If there is no root, the namespace cannot be attached to it,
so we have to attach it to the old list.

This isn't a problem in "new DOM" because namespaces are managed in a
separate structure there.
@nielsdos nielsdos linked an issue May 28, 2024 that may be closed by this pull request
@nielsdos nielsdos merged commit 88ff32a into php:PHP-8.2 May 29, 2024
nielsdos added a commit that referenced this pull request May 29, 2024
* PHP-8.2:
  Fix bug #47925 again (#14348)
  Fix GH-14343: Memory leak in xml and dom (#14347)
nielsdos added a commit that referenced this pull request May 29, 2024
* PHP-8.3:
  Fix bug #47925 again (#14348)
  Fix GH-14343: Memory leak in xml and dom (#14347)
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.

Memory leak in xml and dom
3 participants