From 9b918b912e6cb7b2f0267b6da9d700b4e94abfd3 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Tue, 26 Mar 2013 23:31:37 +0800 Subject: [PATCH] Usermode/AxWin3 - Fixed undefined memory usage --- Usermode/Applications/axwin3_src/WM/wm_hotkeys.c | 1 + 1 file changed, 1 insertion(+) 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? -- 2.20.1