From 7c3c2cad3c5e95fac151debc89c2f5629b4c6b21 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Fri, 30 Jan 2026 15:18:43 -0800 Subject: Many small code quality fixes --- src/burn/engine/core.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/burn/engine/core.cpp') diff --git a/src/burn/engine/core.cpp b/src/burn/engine/core.cpp index de202321..2dfa4857 100644 --- a/src/burn/engine/core.cpp +++ b/src/burn/engine/core.cpp @@ -1232,8 +1232,11 @@ HRESULT CoreAppendLogToCommandLine( hr = StrAllocConcat(psczCommandLine, szLogArgFormatted, 0); ExitOnFailure(hr, "Failed concatenating '-log' to command line"); - hr = StrAllocConcat(psczObfuscatedCommandLine, szLogArgFormatted, 0); - ExitOnFailure(hr, "Failed concatenating '-log' to obfuscated command line"); + if (psczObfuscatedCommandLine) + { + hr = StrAllocConcat(psczObfuscatedCommandLine, szLogArgFormatted, 0); + ExitOnFailure(hr, "Failed concatenating '-log' to obfuscated command line"); + } LExit: if (rgszArgs) -- cgit v1.2.3-55-g6feb