Michael Stefaniuc : windows.media.speech: Remove redundant NULL check before free().
Module: wine Branch: master Commit: 1210b98cd3d8c173d41393c5f46c3f822404065f URL: https://gitlab.winehq.org/wine/wine/-/commit/1210b98cd3d8c173d41393c5f46c3f8... Author: Michael Stefaniuc <mstefani(a)winehq.org> Date: Tue Mar 28 19:28:28 2023 +0200 windows.media.speech: Remove redundant NULL check before free(). --- dlls/windows.media.speech/listconstraint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/windows.media.speech/listconstraint.c b/dlls/windows.media.speech/listconstraint.c index ef0dff0e4d5..555f3b214e1 100644 --- a/dlls/windows.media.speech/listconstraint.c +++ b/dlls/windows.media.speech/listconstraint.c @@ -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; }
participants (1)
-
Alexandre Julliard