msi: Fully initialize the MSISTORAGESVIEW and MSISTREAMSVIEW structures.

This commit is contained in:
Hans Leidekker 2011-06-07 10:34:22 +02:00 committed by Alexandre Julliard
parent 5e37c1a2b7
commit 8aa8b9b654
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;