Module: wine Branch: master Commit: 60a8f050a5b438ea06898f09d081206977ebde9a URL: https://source.winehq.org/git/wine.git/?a=commit;h=60a8f050a5b438ea06898f09d... Author: Michael Stefaniuc <mstefani(a)winehq.org> Date: Mon Sep 21 22:52:32 2020 +0200 winegstreamer: Drop redundant NULL check before heap_free(). Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/winegstreamer/media_source.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/winegstreamer/media_source.c b/dlls/winegstreamer/media_source.c index 84ecf305d4..f365c8a182 100644 --- a/dlls/winegstreamer/media_source.c +++ b/dlls/winegstreamer/media_source.c @@ -394,8 +394,7 @@ static ULONG WINAPI create_object_context_Release(IUnknown *iface) IPropertyStore_Release(context->props); if (context->stream) IMFByteStream_Release(context->stream); - if (context->url) - heap_free(context->url); + heap_free(context->url); heap_free(context); }