From 88a5bdb858e9efc6085f4ff08917f3ff2f222790 Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Sun, 21 Sep 2008 15:58:28 +0200 Subject: [PATCH] msi: Remove redundant NULL check before SysFreeString. --- dlls/msi/automation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/automation.c b/dlls/msi/automation.c index c15126aed27..60224b64df9 100644 --- a/dlls/msi/automation.c +++ b/dlls/msi/automation.c @@ -441,7 +441,7 @@ static HRESULT WINAPI AutomationObject_Invoke( if (pVarResult == &varResultDummy) VariantClear(pVarResult); /* Free function name if we retrieved it */ - if (bstrName) SysFreeString(bstrName); + SysFreeString(bstrName); TRACE("Returning 0x%08x, %s\n", hr, SUCCEEDED(hr) ? "ok" : "not ok");