Commit daa20d9d authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

msi: Return ERROR_OUTOFMEMORY if calloc fails in TransformView_Create (scan-build).

Instead of ERROR_SUCCESS.
parent abfc151e
......@@ -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)
......
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