https://github.com/vlang/v/issues/9327
At the end of the thread, medvednikov wrote this just before closing the issue:
> “Zero leaks when using autofree which will become the default in 0.3:”
I guess they did make autofree enabled by default in this release.
If they did not fix that issue it means that you still can not get leak-free programs with manual memory management, which contradicts my understanding of their claim:
> “For developers willing to have more low level control, autofree can be disabled with -manualfree, or by adding a [manualfree] on each function that wants manage its memory manually.”
> https://github.com/vlang/v/blob/master/doc/docs.md#control
You can disable autofree, but then you can not have a leak-free program no matter what you do. Now, that leak is at the end of its execution so it’s not a problem when using the program, but it is when developing it as those leaks will obscure any other that you might be trying to remove, or even notice.