gdiplus: Fix IStream_Release in GdipCreateBitmapFromFile.

This commit is contained in:
Nathan Beckmann 2008-02-24 07:41:27 -08:00 committed by Alexandre Julliard
parent b9e578528f
commit f49c7bb450
1 changed files with 1 additions and 2 deletions

View File

@ -247,8 +247,7 @@ GpStatus WINGDIPAPI GdipCreateBitmapFromFile(GDIPCONST WCHAR* filename,
stat = GdipCreateBitmapFromStream(stream, bitmap);
if(!stat)
IStream_Release(stream);
IStream_Release(stream);
return stat;
}