gdiplus: Remove unnecessary IStream_AddRef from GdipLoadImageFromFile.

This commit is contained in:
Nathan Beckmann 2008-03-10 08:16:53 -07:00 committed by Alexandre Julliard
parent c925e3abc8
commit f4b4d03a19
1 changed files with 0 additions and 2 deletions

View File

@ -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){