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:
parent
245165e47f
commit
460ca9a9b5
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue