Commit 470ad72b authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 2e31a44a
......@@ -445,6 +445,7 @@ static void test_varianttoproperty(void)
if (len == 0xdeadbeef)
{
HeapFree(GetProcessHeap(), 0, own_propvalue);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment