mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
uiautomationcore: Fix a sizeof() argument (Coverity).
This commit is contained in:
parent
08499d17e1
commit
753b5b3582
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue