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:
parent
3e9b4c1a17
commit
89fd36e1df
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue