ole32/tests: Fix a memleak on an error path (Smatch).
This commit is contained in:
parent
2e31a44aca
commit
470ad72b05
|
@ -445,6 +445,7 @@ static void test_varianttoproperty(void)
|
|||
|
||||
if (len == 0xdeadbeef)
|
||||
{
|
||||
HeapFree(GetProcessHeap(), 0, own_propvalue);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue