gdiplus: Fix IStream_Release in GdipCreateBitmapFromFile.
This commit is contained in:
parent
b9e578528f
commit
f49c7bb450
|
@ -247,8 +247,7 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR* filename,
|
|||
|
||||
stat = GdipCreateBitmapFromStream(stream, bitmap);
|
||||
|
||||
if(!stat)
|
||||
IStream_Release(stream);
|
||||
IStream_Release(stream);
|
||||
|
||||
return stat;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue