Skip to content

PHPC-1471: Clean up reference handling in Javascript scope serialisation #1063

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

Merged
merged 1 commit into from
Dec 2, 2019

Conversation

alcaeus
Copy link
Member

@alcaeus alcaeus commented Nov 19, 2019

https://jira.mongodb.org/browse/PHPC-1471

This was brought up in the review for #1034. Calling Z_ADDREF is unnecessary if we only call zval_ptr_dtor when the result actually needs to be destroyed.

@alcaeus alcaeus requested a review from jmikola November 19, 2019 14:02
@alcaeus alcaeus self-assigned this Nov 19, 2019
alcaeus added a commit that referenced this pull request Dec 2, 2019
@alcaeus alcaeus merged commit 67d8db5 into mongodb:master Dec 2, 2019
@alcaeus alcaeus deleted the phpc-1471 branch December 2, 2019 19:01
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.

2 participants