Commit a77c7626 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

windowscodecs/tests: Fix a memory leak (Valgrind).

parent 7a32035f
......@@ -306,6 +306,8 @@ static HRESULT create_decoder(const void *image_data, UINT image_size, IWICBitma
refcount = IStream_Release(stream);
ok(refcount > 0, "expected stream refcount > 0\n");
}
else
IStream_Release(stream);
return hr;
}
......
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