summaryrefslogtreecommitdiff
path: root/test/pipeline/ipu3
diff options
context:
space:
mode:
Diffstat (limited to 'test/pipeline/ipu3')
-rw-r--r--test/pipeline/ipu3/ipu3_pipeline_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pipeline/ipu3/ipu3_pipeline_test.cpp b/test/pipeline/ipu3/ipu3_pipeline_test.cpp
index 1d4cc4d4..8bfcd609 100644
--- a/test/pipeline/ipu3/ipu3_pipeline_test.cpp
+++ b/test/pipeline/ipu3/ipu3_pipeline_test.cpp
@@ -92,7 +92,7 @@ int IPU3PipelineTest::init()
enumerator.reset(nullptr);
- cameraManager_ = CameraManager::instance();
+ cameraManager_ = new CameraManager();
ret = cameraManager_->start();
if (ret) {
cerr << "Failed to start the CameraManager" << endl;
@@ -120,6 +120,7 @@ int IPU3PipelineTest::run()
void IPU3PipelineTest::cleanup()
{
cameraManager_->stop();
+ delete cameraManager_;
}
TEST_REGISTER(IPU3PipelineTest)