Commit 85e8d3ad authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

msi: Fix possible free of uninitialized pointer.

parent fcb771d9
...@@ -683,8 +683,8 @@ HRESULT init_string_table( IStorage *stg ) ...@@ -683,8 +683,8 @@ HRESULT init_string_table( IStorage *stg )
string_table *load_string_table( IStorage *stg ) string_table *load_string_table( IStorage *stg )
{ {
string_table *st = NULL; string_table *st = NULL;
CHAR *data; CHAR *data = NULL;
USHORT *pool; USHORT *pool = NULL;
UINT r, datasize = 0, poolsize = 0, codepage; UINT r, datasize = 0, poolsize = 0, codepage;
DWORD i, count, offset, len, n; DWORD i, count, offset, len, n;
static const WCHAR szStringData[] = { static const WCHAR szStringData[] = {
......
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