mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
gdiplus: Remove unnecessary IStream_AddRef from GdipLoadImageFromFile.
This commit is contained in:
parent
c925e3abc8
commit
f4b4d03a19
@ -740,8 +740,6 @@ GpStatus WINGDIPAPI GdipLoadImageFromStream(IStream* stream, GpImage **image)
|
||||
return GenericError;
|
||||
}
|
||||
|
||||
IStream_AddRef(stream);
|
||||
|
||||
IPicture_get_Type(pic, &type);
|
||||
|
||||
if(type == PICTYPE_BITMAP){
|
||||
|
Loading…
x
Reference in New Issue
Block a user