Some of these changes are meant to fix a couple of warnings while reading the code.
I also noticed that there were almost no sanity checks in the code, which may lead to lots of segfaults in user code.
Win: Do not call CloseHandle in hid_open_path if device_handle is null
Some of these changes are meant to fix a couple of warnings while reading the code. I also noticed that there were almost no sanity checks in the code, which may lead to lots of segfaults in user code.