Commit 8aa8b9b6 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Fully initialize the MSISTORAGESVIEW and MSISTREAMSVIEW structures.

parent 5e37c1a2
......@@ -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;
......
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