msi: Fully initialize the MSISTORAGESVIEW and MSISTREAMSVIEW structures.
This commit is contained in:
parent
5e37c1a2b7
commit
8aa8b9b654
|
@ -557,7 +557,7 @@ UINT STORAGES_CreateView(MSIDATABASE *db, MSIVIEW **view)
|
|||
|
||||
TRACE("(%p, %p)\n", db, view);
|
||||
|
||||
sv = msi_alloc(sizeof(MSISTORAGESVIEW));
|
||||
sv = msi_alloc_zero( sizeof(MSISTORAGESVIEW) );
|
||||
if (!sv)
|
||||
return ERROR_FUNCTION_FAILED;
|
||||
|
||||
|
|
|
@ -566,7 +566,7 @@ UINT STREAMS_CreateView(MSIDATABASE *db, MSIVIEW **view)
|
|||
|
||||
TRACE("(%p, %p)\n", db, view);
|
||||
|
||||
sv = msi_alloc(sizeof(MSISTREAMSVIEW));
|
||||
sv = msi_alloc_zero( sizeof(MSISTREAMSVIEW) );
|
||||
if (!sv)
|
||||
return ERROR_FUNCTION_FAILED;
|
||||
|
||||
|
|
Loading…
Reference in New Issue