Win32: Simpllify hid_open_path code. Fix memory leak in free_hid_device. #361

Merged
DJm00n merged 1 commit from fix_memleak into master 2021-12-22 15:59:57 -06:00
DJm00n commented 2021-12-20 06:01:02 -06:00 (Migrated from github.com)
No description provided.
Youw (Migrated from github.com) reviewed 2021-12-20 07:21:04 -06:00
@ -781,72 +781,58 @@ HID_API_EXPORT hid_device * HID_API_CALL hid_open(unsigned short vendor_id, unsi
Youw (Migrated from github.com) commented 2021-12-20 07:19:21 -06:00
	device_handle = INVALID_HANDLE_VALUE;
```suggestion device_handle = INVALID_HANDLE_VALUE; ```
DJm00n (Migrated from github.com) reviewed 2021-12-20 08:54:50 -06:00
@ -781,72 +781,58 @@ HID_API_EXPORT hid_device * HID_API_CALL hid_open(unsigned short vendor_id, unsi
DJm00n (Migrated from github.com) commented 2021-12-20 08:54:50 -06:00

fixed

fixed
Youw (Migrated from github.com) approved these changes 2021-12-20 09:36:15 -06:00
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-libusb/hidapi!361
No description provided.