Huw Davies : oleaut32: Fix an ole font leak.

Alexandre Julliard julliard at winehq.org
Mon Feb 1 08:56:07 CST 2010


Module: wine
Branch: master
Commit: ad9843faab04d9834dbd7d55df40d6bd946fd378
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ad9843faab04d9834dbd7d55df40d6bd946fd378

Author: Huw Davies <huw at codeweavers.com>
Date:   Mon Feb  1 13:58:55 2010 +0000

oleaut32: Fix an ole font leak.

---

 dlls/oleaut32/tests/olefont.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/oleaut32/tests/olefont.c b/dlls/oleaut32/tests/olefont.c
index fd26388..d57f66b 100644
--- a/dlls/oleaut32/tests/olefont.c
+++ b/dlls/oleaut32/tests/olefont.c
@@ -832,6 +832,8 @@ static void test_returns(void)
     ok(hr == E_POINTER,
        "IFont::get_Bold: Expected E_POINTER got 0x%08x\n",
        hr);
+
+    IFont_Release(pFont);
 }
 
 START_TEST(olefont)




More information about the wine-cvs mailing list