diff options
author | Ashish Chaudhari <ashish@ettus.com> | 2015-10-16 12:31:20 -0700 |
---|---|---|
committer | Ashish Chaudhari <ashish@ettus.com> | 2015-10-16 12:31:20 -0700 |
commit | 052efa19109a2cb3346788dd63dfb23e07146693 (patch) | |
tree | d45b1d9209dd445f3cb686add3882fcd78d42701 /host/lib/usrp/e300 | |
parent | 626558e35e98b620d77e48c1046608c013ca80f7 (diff) | |
parent | 3e973aec5b9d5d5e2b3a746843a6fc15fde79cd4 (diff) | |
download | uhd-052efa19109a2cb3346788dd63dfb23e07146693.tar.gz uhd-052efa19109a2cb3346788dd63dfb23e07146693.tar.bz2 uhd-052efa19109a2cb3346788dd63dfb23e07146693.zip |
Merge branch 'maint'
Diffstat (limited to 'host/lib/usrp/e300')
-rw-r--r-- | host/lib/usrp/e300/e300_sysfs_hooks.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/host/lib/usrp/e300/e300_sysfs_hooks.cpp b/host/lib/usrp/e300/e300_sysfs_hooks.cpp index fdeaf0858..ee2ac21d7 100644 --- a/host/lib/usrp/e300/e300_sysfs_hooks.cpp +++ b/host/lib/usrp/e300/e300_sysfs_hooks.cpp @@ -67,6 +67,8 @@ std::string e300_get_sysfs_attr(const std::string &node, const std::string &attr retstring = udev_device_get_sysattr_value(dev, attr.c_str()); if (retstring.size()) break; + + udev_device_unref(dev); } udev_enumerate_unref(enumerate); |