msi: Fix possible free of uninitialized pointer.
This commit is contained in:
parent
fcb771d9c0
commit
85e8d3adf8
|
@ -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[] = {
|
||||||
|
|
Loading…
Reference in New Issue