[PATCH] winegstreamer: Drop redundant NULL check before heap_free()
Michael Stefaniuc
mstefani at winehq.org
Mon Sep 21 15:52:32 CDT 2020
Signed-off-by: Michael Stefaniuc <mstefani at 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 84ecf305d4c..f365c8a1827 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);
}
--
2.26.2
More information about the wine-devel
mailing list