d3dx10: Remove redundant NULL check before heap_free().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2021-08-25 22:39:07 +02:00 committed by Alexandre Julliard
parent 245165e47f
commit 460ca9a9b5
1 changed files with 1 additions and 2 deletions

View File

@ -709,8 +709,7 @@ end:
IWICFormatConverter_Release(converter); IWICFormatConverter_Release(converter);
if (dds_frame) if (dds_frame)
IWICDdsFrameDecode_Release(dds_frame); IWICDdsFrameDecode_Release(dds_frame);
if (buffer) heap_free(buffer);
heap_free(buffer);
if (frame) if (frame)
IWICBitmapFrameDecode_Release(frame); IWICBitmapFrameDecode_Release(frame);
if (decoder) if (decoder)