mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 02:46:32 +00:00
msi: Return ERROR_OUTOFMEMORY if calloc fails in TransformView_Create (scan-build).
Instead of ERROR_SUCCESS.
This commit is contained in:
parent
abfc151e0b
commit
daa20d9d63
1 changed files with 1 additions and 1 deletions
|
@ -2856,7 +2856,7 @@ UINT TransformView_Create( MSIDATABASE *db, string_table *st, LPCWSTR name, MSIV
|
|||
MSI_ViewClose( q );
|
||||
msiobj_release( &q->hdr );
|
||||
free( tv );
|
||||
return r;
|
||||
return ERROR_OUTOFMEMORY;
|
||||
}
|
||||
|
||||
while (MSI_ViewFetch( q, &rec ) == ERROR_SUCCESS)
|
||||
|
|
Loading…
Reference in a new issue