summaryrefslogtreecommitdiff
path: root/test/camera
diff options
context:
space:
mode:
Diffstat (limited to 'test/camera')
-rw-r--r--test/camera/camera_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/camera/camera_test.cpp b/test/camera/camera_test.cpp
index 24ff5fe0..0e105414 100644
--- a/test/camera/camera_test.cpp
+++ b/test/camera/camera_test.cpp
@@ -14,7 +14,7 @@ using namespace std;
int CameraTest::init()
{
- cm_ = CameraManager::instance();
+ cm_ = new CameraManager();
if (cm_->start()) {
cout << "Failed to start camera manager" << endl;
@@ -44,4 +44,5 @@ void CameraTest::cleanup()
}
cm_->stop();
+ delete cm_;
};