mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: temporary memory fix on windows
This commit is contained in:
parent
81bf67ba4f
commit
b96cbe2177
@ -1068,7 +1068,7 @@ fn (p mut Parser) close_scope() {
|
||||
break
|
||||
}
|
||||
// Clean up memory, only do this for V compiler for now
|
||||
$if !windows {
|
||||
if p.os != .windows {
|
||||
if p.pref.building_v && v.is_alloc && !p.pref.is_test {
|
||||
mut free_fn := 'free'
|
||||
if v.typ.starts_with('array_') {
|
||||
|
Loading…
Reference in New Issue
Block a user