aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/dboard_manager.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-06-10 13:11:22 -0700
committerJosh Blum <josh@joshknows.com>2011-06-10 13:11:22 -0700
commite709e4d36516f4459cc08c46ae6eea1e12feb70b (patch)
tree5bed3ec4bff9246270b79371d5b83fafc3720e12 /host/lib/usrp/dboard_manager.cpp
parent3724b821f1db99f5eaba3b46d76310549074eaf6 (diff)
downloaduhd-e709e4d36516f4459cc08c46ae6eea1e12feb70b.tar.gz
uhd-e709e4d36516f4459cc08c46ae6eea1e12feb70b.tar.bz2
uhd-e709e4d36516f4459cc08c46ae6eea1e12feb70b.zip
uhd: added safe call on a few dboard related deconstructors
Diffstat (limited to 'host/lib/usrp/dboard_manager.cpp')
-rw-r--r--host/lib/usrp/dboard_manager.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/usrp/dboard_manager.cpp b/host/lib/usrp/dboard_manager.cpp
index 11b72b9fa..e624ec62f 100644
--- a/host/lib/usrp/dboard_manager.cpp
+++ b/host/lib/usrp/dboard_manager.cpp
@@ -20,6 +20,7 @@
#include <uhd/usrp/subdev_props.hpp>
#include <uhd/utils/msg.hpp>
#include <uhd/utils/log.hpp>
+#include <uhd/utils/safe_call.hpp>
#include <uhd/utils/static.hpp>
#include <uhd/exception.hpp>
#include <uhd/types/dict.hpp>
@@ -351,7 +352,7 @@ void dboard_manager_impl::init(
}
dboard_manager_impl::~dboard_manager_impl(void){
- set_nice_dboard_if();
+ UHD_SAFE_CALL(set_nice_dboard_if();)
}
prop_names_t dboard_manager_impl::get_rx_subdev_names(void){