-
-
Notifications
You must be signed in to change notification settings - Fork 862
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix leaking udev reference in LinuxUsbDevice (#1678)
* Refactor LinuxUsbDevice to fix leaking reference This change fixes a leaking udev device reference when enumerating devices. Devices with a devtype that was not "usb_device" were never freed during the enumeration. The enumeration process has been refactored (in line with the implementation in LinuxHWDiskStore) to use the more object-oriented API for udev that's now available from JNA. * Update changelog
- Loading branch information
1 parent
47ccbfb
commit d6e49c4
Showing
2 changed files
with
65 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters