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…
Reference in New Issue