Nathan Beckmann : gdiplus: Remove unnecessary IStream_AddRef from GdipLoadImageFromFile.
Module: wine Branch: master Commit: f4b4d03a19042670182ce240ad4b5abdfcbe13b4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f4b4d03a19042670182ce240ad... Author: Nathan Beckmann <nathan.beckmann(a)gmail.com> Date: Mon Mar 10 08:16:53 2008 -0700 gdiplus: Remove unnecessary IStream_AddRef from GdipLoadImageFromFile. --- dlls/gdiplus/image.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/dlls/gdiplus/image.c b/dlls/gdiplus/image.c index 4f05ba0..f150637 100644 --- a/dlls/gdiplus/image.c +++ b/dlls/gdiplus/image.c @@ -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){
participants (1)
-
Alexandre Julliard