ole32/tests: Fix a memleak on an error path (Smatch).

oldstable
Michael Stefaniuc 2012-10-30 23:15:44 +01:00 committed by Alexandre Julliard
parent 2e31a44aca
commit 470ad72b05
1 changed files with 1 additions and 0 deletions

View File

@ -445,6 +445,7 @@ static void test_varianttoproperty(void)
if (len == 0xdeadbeef)
{
HeapFree(GetProcessHeap(), 0, own_propvalue);
return;
}