winegstreamer: Drop redundant NULL check before heap_free().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2020-09-21 22:52:32 +02:00 committed by Alexandre Julliard
parent b4c890e37c
commit 60a8f050a5
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}