msctf: Allocate memory only right before it's needed.
commit850f6c796569e90907845eaabba19e07136baecd
authorMichael Stefaniuc <mstefani@redhat.de>
Sat, 16 May 2009 19:43:06 +0000 (16 21:43 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 18 May 2009 10:32:08 +0000 (18 12:32 +0200)
treee7ce67c912a37cc7f4a83c527e83b1ad98104967
parentd39dd3834652bb00838e5c5e3cccb747952714b0
msctf: Allocate memory only right before it's needed.

Fixes a memory leak on an error path. Found by Smatch.
dlls/msctf/msctf.c