Commit 89fd36e1 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msctf/tests: Fix memory leaks (valgrind).

parent 3e9b4c1a
...@@ -921,6 +921,7 @@ static void test_EnumInputProcessorInfo(void) ...@@ -921,6 +921,7 @@ static void test_EnumInputProcessorInfo(void)
if(IsEqualGUID(&g,&CLSID_FakeService)) if(IsEqualGUID(&g,&CLSID_FakeService))
found = TRUE; found = TRUE;
} }
IEnumGUID_Release(ppEnum);
} }
ok(found,"Did not find registered text service\n"); ok(found,"Did not find registered text service\n");
} }
...@@ -943,6 +944,7 @@ static void test_EnumLanguageProfiles(void) ...@@ -943,6 +944,7 @@ static void test_EnumLanguageProfiles(void)
ok(IsEqualGUID(&profile.guidProfile,&CLSID_FakeService), "guidProfile Incorrect\n"); ok(IsEqualGUID(&profile.guidProfile,&CLSID_FakeService), "guidProfile Incorrect\n");
} }
} }
IEnumTfLanguageProfiles_Release(ppEnum);
} }
ok(found,"Registered text service not found\n"); ok(found,"Registered text service not found\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment