mirror of
https://github.com/reactos/wine.git
synced 2025-01-24 04:45:18 +00:00
usp10: Fix a memory leak.
This commit is contained in:
parent
f15bbdcd5a
commit
ab4d8aec35
@ -279,6 +279,7 @@ static void test_ScriptGetCMap(HDC hdc, unsigned short pwOutGlyphs[256])
|
||||
ok( hr == S_OK, "ScriptGetCMap(NULL,&psc,NULL,0,0,NULL), expected S_OK, "
|
||||
"got %08x\n", hr);
|
||||
ok( psc != NULL, "ScritpGetCMap expected psc to be not NULL\n");
|
||||
ScriptFreeCache( &psc);
|
||||
|
||||
/* Set psc to NULL, to be able to check if a pointer is returned in psc */
|
||||
psc = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user