File a bug report for that, it looks like Nim's cursor optimizer doesn't understand that `distinct cstring` can be an owning type.
- Why cstring destructor is not being called here? giaco
- Why cstring destructor is not being called here? Araq
- Why cstring destructor is not being called here? giaco
- Why cstring destructor is not being called here? Araq