diff options
| author | Niklas Goby | 2011-04-11 09:28:03 +0200 |
|---|---|---|
| committer | Niklas Goby | 2011-04-11 09:28:03 +0200 |
| commit | e5994319e38b5f0474dc98c96d9461fc97bbbf45 (patch) | |
| tree | 909b9fc8a41d29ca132ad2313ba318a718613a83 | |
| parent | added method into sysInfo class for receiving informations (diff) | |
| download | fbgui-e5994319e38b5f0474dc98c96d9461fc97bbbf45.tar.gz fbgui-e5994319e38b5f0474dc98c96d9461fc97bbbf45.tar.xz fbgui-e5994319e38b5f0474dc98c96d9461fc97bbbf45.zip | |
forgot the close device command
inserted it now
whole method has to be tested!!
| -rw-r--r-- | src/sysinfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sysinfo.cpp b/src/sysinfo.cpp index 5440717..af649ed 100644 --- a/src/sysinfo.cpp +++ b/src/sysinfo.cpp @@ -156,6 +156,7 @@ const QString SysInfo::getUsbVendorIdProductIdSerialNumber() } infos.insert("serialnumber",QString((const char *)string)); list << infos; + libusb_close(handle); } libusb_free_device_list(devs, 1); //free the list, unref the devices in it libusb_exit(ctx); //close the session |
