summaryrefslogtreecommitdiff
path: root/test/controls
diff options
context:
space:
mode:
Diffstat (limited to 'test/controls')
-rw-r--r--test/controls/control_list.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/controls/control_list.cpp b/test/controls/control_list.cpp
index c834edc3..f1d79ff8 100644
--- a/test/controls/control_list.cpp
+++ b/test/controls/control_list.cpp
@@ -21,7 +21,7 @@ class ControlListTest : public Test
protected:
int init()
{
- cm_ = CameraManager::instance();
+ cm_ = new CameraManager();
if (cm_->start()) {
cout << "Failed to start camera manager" << endl;
@@ -203,6 +203,7 @@ protected:
}
cm_->stop();
+ delete cm_;
}
private: