Merge branch 'master' of github.com:signal11/hidapi

This commit is contained in:
Alan Ott 2010-07-28 21:31:56 -04:00
commit 208de82ec1
2 changed files with 15 additions and 2 deletions

13
linux/.gitignore vendored Normal file
View File

@ -0,0 +1,13 @@
Debug
Release
*.exp
*.ilk
*.lib
*.suo
*.vcproj.*
*.ncb
*.suo
*.dll
*.pdb
*.o
hidtest

View File

@ -494,9 +494,9 @@ int HID_API_EXPORT hid_get_feature_report(hid_device *dev, unsigned char *data,
void HID_API_EXPORT hid_close(hid_device *dev)
{
if (!dev)
return;
close(dev->device_handle);
free(dev);
}