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

CallArgs struct #232

Merged
merged 5 commits into from
Oct 30, 2023
Merged

CallArgs struct #232

merged 5 commits into from
Oct 30, 2023

Conversation

gatesn
Copy link
Contributor

@gatesn gatesn commented Oct 30, 2023

Makes it more obvious who/how to call deinit on the returned struct.

@gatesn gatesn enabled auto-merge (squash) October 30, 2023 09:30
@robert3005
Copy link
Member

The leak in this code came from regular arguments never been deallocated https://github.com/fulcrum-so/ziggy-pydust/blob/develop/pydust/src/functions.zig#L355-L363. deinitArgs only deallocates var args types. We need to traverse Args and decref all the values.

@gatesn gatesn merged commit 052427d into develop Oct 30, 2023
1 check passed
@gatesn gatesn deleted the ngates/callargs branch October 30, 2023 17:45
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