From b96cbe21771488e0202098a57a261d4affa027ed Mon Sep 17 00:00:00 2001 From: joe-conigliaro Date: Sat, 14 Sep 2019 20:09:25 +1000 Subject: [PATCH] compiler: temporary memory fix on windows --- compiler/parser.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/parser.v b/compiler/parser.v index 0d09e1dfac..83cea84575 100644 --- a/compiler/parser.v +++ b/compiler/parser.v @@ -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_') {