windows.media.speech: Remove redundant NULL check before free().

This commit is contained in:
Michael Stefaniuc 2023-03-28 19:28:28 +02:00 committed by Alexandre Julliard
parent b7fd8972db
commit 1210b98cd3

View file

@ -372,7 +372,7 @@ static HRESULT WINAPI constraint_factory_CreateWithTag( ISpeechRecognitionListCo
error:
if (impl->commands) IVector_HSTRING_Release(impl->commands);
if (impl) free(impl);
free(impl);
return hr;
}