mirror of
https://github.com/reactos/wine.git
synced 2025-04-03 00:21:39 +00:00
msctf: Correctly initialize the description field.
Found by Valgrind.
This commit is contained in:
parent
447e224380
commit
d775d6e31f
@ -883,6 +883,7 @@ static HRESULT WINAPI KeystrokeMgr_PreserveKey(ITfKeystrokeMgr *iface,
|
||||
newkey->guid = *rguid;
|
||||
newkey->prekey = *prekey;
|
||||
newkey->tid = tid;
|
||||
newkey->description = NULL;
|
||||
if (cchDesc)
|
||||
{
|
||||
newkey->description = HeapAlloc(GetProcessHeap(),0,cchDesc * sizeof(WCHAR));
|
||||
|
Loading…
x
Reference in New Issue
Block a user