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

Hardcoded constructors marshaling fix, some leaks fixes #550

Conversation

elijah-semyonov
Copy link
Contributor

@elijah-semyonov elijah-semyonov commented Sep 28, 2024

Some of the constructors were hard-coded and weren't updated in previous marshaling PR with a similar scope.

Fixed leaks in variadic methods returning Godot Variant and String:
#552 in aa902c9
#551 in 1f4079d (we passed pointer to the VariantContent, where pointer to GString.ContentType content was expected.

@elijah-semyonov elijah-semyonov changed the title Hardcoded constructors marshaling fix Hardcoded constructors marshaling fix, some leaks fixes Sep 28, 2024
@migueldeicaza
Copy link
Owner

Beautiful as always - thank you so much!

@migueldeicaza migueldeicaza merged commit b77670e into migueldeicaza:main Sep 28, 2024
2 checks passed
@elijah-semyonov elijah-semyonov deleted the hardcoded-constructors-marshaling-fix branch September 28, 2024 19:53
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