1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

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;