From: John Hodge Date: Tue, 26 Mar 2013 15:31:37 +0000 (+0800) Subject: Usermode/AxWin3 - Fixed undefined memory usage X-Git-Tag: rel0.15~530 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=9b918b912e6cb7b2f0267b6da9d700b4e94abfd3;p=tpg%2Facess2.git Usermode/AxWin3 - Fixed undefined memory usage --- diff --git a/Usermode/Applications/axwin3_src/WM/wm_hotkeys.c b/Usermode/Applications/axwin3_src/WM/wm_hotkeys.c index bdea09c5..2a93b541 100644 --- a/Usermode/Applications/axwin3_src/WM/wm_hotkeys.c +++ b/Usermode/Applications/axwin3_src/WM/wm_hotkeys.c @@ -64,6 +64,7 @@ void WM_Hotkey_RegisterAction(const char *ActionName, tWindow *Target, uint16_t strcpy((char*)t->Name, ActionName); t->Window = Target; t->Index = Index; + t->Next = NULL; // TODO: Register to be informed when the window dies/closes?