mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
strings.builder: fix a memory leak
This commit is contained in:
@ -106,7 +106,7 @@ pub fn (b mut Builder) free() {
|
||||
}
|
||||
// QTODO checker bug
|
||||
s := b.initial_size
|
||||
b.buf = []byte{cap: s}
|
||||
//b.buf = []byte{cap: s}
|
||||
b.len = 0
|
||||
b.str_calls = 0
|
||||
}
|
||||
|
Reference in New Issue
Block a user