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

Fixes sam701/zig-cli#47 #48

Merged
merged 4 commits into from
Sep 13, 2024
Merged

Conversation

Dinastyh
Copy link
Contributor

@Dinastyh Dinastyh commented Jul 8, 2024

No description provided.

@Dinastyh Dinastyh changed the title Fixes sam701/zig-cli#47 :windows segmentation error Fixes sam701/zig-cli#47 Jul 8, 2024
@Dinastyh
Copy link
Contributor Author

Dinastyh commented Jul 8, 2024

Fixes #47

In the case of a string argument, the address set in 'dest' was allocated using the parser's arena allocator. This allocator is deinit at the end of 'AppRunner.getAction'.

@Dinastyh
Copy link
Contributor Author

I forgot to edit the unit test file so the action failed. It's fixed, I added free for the new allocations

@sam701 sam701 merged commit f6925c3 into sam701:main Sep 13, 2024
2 checks passed
@sam701
Copy link
Owner

sam701 commented Sep 13, 2024

@Dinastyh thanks! It's a very important fix. I'm wondering that nobody encountered this bug earlier.

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