Fixed miscellaneous bugs reported by Coverity.
This commit is contained in:
@@ -56,7 +56,7 @@ typedef struct {
|
||||
HANDLE hdevice;
|
||||
PHIDP_PREPARSED_DATA data;
|
||||
|
||||
USAGE usage_button[128];
|
||||
USAGE usage_button[256];
|
||||
|
||||
struct raw_axis_t {
|
||||
USAGE usage;
|
||||
|
||||
@@ -949,6 +949,8 @@ win_settings_machine_proc(HWND hdlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
|
||||
win_settings_machine_recalc_machine(hdlg);
|
||||
}
|
||||
|
||||
free(lptsTemp);
|
||||
}
|
||||
break;
|
||||
case IDC_COMBO_MACHINE:
|
||||
|
||||
Reference in New Issue
Block a user