Module: wine Branch: master Commit: 2746baf8f06c66bf2bcb11536226bdcbfd0ff7db URL: http://source.winehq.org/git/wine.git/?a=commit;h=2746baf8f06c66bf2bcb115362...
Author: Rob Shearman rob@codeweavers.com Date: Thu Jan 31 14:45:42 2008 +0000
oleaut32: Fix a memory leak in the olefont tests.
---
dlls/oleaut32/tests/olefont.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/oleaut32/tests/olefont.c b/dlls/oleaut32/tests/olefont.c index 1e6678b..11d6169 100644 --- a/dlls/oleaut32/tests/olefont.c +++ b/dlls/oleaut32/tests/olefont.c @@ -171,6 +171,7 @@ static void test_type_info(void) ok(hres == S_OK, "GetNames returned 0x%08x instead of S_OK.\n", hres); ok(n == 1, "GetNames returned %d names instead of 1.\n", n); ok(!lstrcmpiW(names[0],name_Name), "DISPID_FONT_NAME doesn't get 'Names'.\n"); + SysFreeString(names[0]);
ITypeInfo_Release(pTInfo);