Compiling string flag with -autofree ends in heap-corruption #9815
Labels
Autofree
Bugs/feature requests, that are related to -autofree.
Bug
This tag is applied to issues which reports bugs.
Unit: Memory Management
Bugs/feature requests, that are related to the memory management of the compiler.
V version: 0.2.2 4a1f75c
OS: all
What did you do?
Built it with:
v -autofree -prod -cc [gcc, msvc, tcc] test.v
Executed with:
test.exe --test sometext
What did you expect to see?
sometext
What did you see instead?
some garbage and after repeating several times (on Windows):
I think the error is related to os.args and -autofree
The text was updated successfully, but these errors were encountered: