Commit 753b5b35 authored by Sven Baars's avatar Sven Baars Committed by Alexandre Julliard

uiautomationcore: Fix a sizeof() argument (Coverity).

parent 08499d17
......@@ -169,7 +169,7 @@ static HRESULT uia_condition_clone(struct UiaCondition **dst, struct UiaConditio
{
case ConditionType_True:
case ConditionType_False:
if (!(*dst = heap_alloc_zero(sizeof(*dst))))
if (!(*dst = heap_alloc_zero(sizeof(**dst))))
return E_OUTOFMEMORY;
(*dst)->ConditionType = src->ConditionType;
......
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