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

This commit is contained in:
Sven Baars 2023-07-28 15:59:27 +02:00 committed by Alexandre Julliard
parent 08499d17e1
commit 753b5b3582

View file

@ -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;