zig-cli icon indicating copy to clipboard operation
zig-cli copied to clipboard

Fixes sam701/zig-cli#47

Open Dinastyh opened this issue 1 year ago • 1 comments

Dinastyh avatar Jul 08 '24 11:07 Dinastyh

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 avatar Jul 08 '24 12:07 Dinastyh

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

Dinastyh avatar Sep 13 '24 16:09 Dinastyh

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

sam701 avatar Sep 13 '24 19:09 sam701