diff options
Diffstat (limited to 'test/list.cpp')
-rw-r--r-- | test/list.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/test/list.cpp b/test/list.cpp index 39b8a41d..e2026c99 100644 --- a/test/list.cpp +++ b/test/list.cpp @@ -19,10 +19,7 @@ class ListTest : public Test protected: int init() { - cm = new CameraManager(); - if (!cm) - return -ENOMEM; - + cm = CameraManager::instance(); cm->start(); return 0; @@ -43,8 +40,6 @@ protected: void cleanup() { cm->stop(); - - delete cm; } private: |