Commit 460ca9a9 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

d3dx10: Remove redundant NULL check before heap_free().

parent 245165e4
......@@ -709,8 +709,7 @@ end:
IWICFormatConverter_Release(converter);
if (dds_frame)
IWICDdsFrameDecode_Release(dds_frame);
if (buffer)
heap_free(buffer);
heap_free(buffer);
if (frame)
IWICBitmapFrameDecode_Release(frame);
if (decoder)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment