zig-cli
zig-cli copied to clipboard
Fixes sam701/zig-cli#47
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'.
I forgot to edit the unit test file so the action failed. It's fixed, I added free for the new allocations
@Dinastyh thanks! It's a very important fix. I'm wondering that nobody encountered this bug earlier.