Double free with -autofree
and os.input
#21188
Labels
Bug
This tag is applied to issues which reports bugs.
-autofree
and os.input
#21188
Describe the bug
when using
os.input
I get a double free on the returned stringReproduction Steps
With this code
compiling with:
v -cc gcc -gc none hello.v
it works
but with:
v -cc gcc -gc none -autofree hello.v
I get a double free
Expected Behavior
No double free, to work like without the
-autofree
Current Behavior
it double free
Possible Solution
No response
Additional Information/Context
No response
V version
V 0.4.5 2c646bf
Environment details (OS name and version, etc.)
Kali 2024.1
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: