From 85e8d3adf8820fa43e7998700a34e0e08907eca2 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Fri, 7 Apr 2006 13:29:56 +0900 Subject: [PATCH] msi: Fix possible free of uninitialized pointer. --- dlls/msi/table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/msi/table.c b/dlls/msi/table.c index 8ce24faf9ea..167dd81452b 100644 --- a/dlls/msi/table.c +++ b/dlls/msi/table.c @@ -683,8 +683,8 @@ HRESULT init_string_table( IStorage *stg ) string_table *load_string_table( IStorage *stg ) { string_table *st = NULL; - CHAR *data; - USHORT *pool; + CHAR *data = NULL; + USHORT *pool = NULL; UINT r, datasize = 0, poolsize = 0, codepage; DWORD i, count, offset, len, n; static const WCHAR szStringData[] = {