msctf/tests: Fix memory leaks (valgrind).

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2015-10-30 17:48:35 +11:00 committed by Alexandre Julliard
parent 3e9b4c1a17
commit 89fd36e1df
1 changed files with 2 additions and 0 deletions

View File

@ -921,6 +921,7 @@ static void test_EnumInputProcessorInfo(void)
if(IsEqualGUID(&g,&CLSID_FakeService))
found = TRUE;
}
IEnumGUID_Release(ppEnum);
}
ok(found,"Did not find registered text service\n");
}
@ -943,6 +944,7 @@ static void test_EnumLanguageProfiles(void)
ok(IsEqualGUID(&profile.guidProfile,&CLSID_FakeService), "guidProfile Incorrect\n");
}
}
IEnumTfLanguageProfiles_Release(ppEnum);
}
ok(found,"Registered text service not found\n");
}