Skip to content

Fix memory leak when destroying PDORow #18123

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

Closed
wants to merge 1 commit into from

Conversation

nielsdos
Copy link
Member

This should call zend_object_std_dtor() to clean the property table etc. This also has a semantic influence because previously weak refs were not notified for example.

This fixes the final issue in GH-18114 (the crash was master-only and fixed already).
Closes GH-18114.

@nielsdos nielsdos requested a review from SakiTakamachi as a code owner March 20, 2025 18:20
@nielsdos nielsdos linked an issue Mar 20, 2025 that may be closed by this pull request
This should call zend_object_std_dtor() to clean the property table etc.
This also has a semantic influence because previously weak refs were not
notified for example.

This fixes the final issue in phpGH-18114 (the crash was master-only and
fixed already).
Closes phpGH-18114.
@nielsdos nielsdos closed this in 2dde07a Mar 20, 2025
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.

pdo lazy object crash
2 participants