From 8f722a3633cda80c8749e465b97bf9c36ddc7ebe Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 20 Nov 2016 23:26:32 +0100 Subject: [PATCH] - fixed: FxCVar must free its address register. --- src/scripting/codegeneration/codegen.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripting/codegeneration/codegen.cpp b/src/scripting/codegeneration/codegen.cpp index 593737065..1b70a1e0c 100644 --- a/src/scripting/codegeneration/codegen.cpp +++ b/src/scripting/codegeneration/codegen.cpp @@ -6072,6 +6072,7 @@ ExpEmit FxCVar::Emit(VMFunctionBuilder *build) assert(false && "Unsupported CVar type"); break; } + addr.Free(build); return dest; }