summaryrefslogtreecommitdiff
path: root/test/v4l2_device/v4l2_device_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/v4l2_device/v4l2_device_test.cpp')
-rw-r--r--test/v4l2_device/v4l2_device_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/v4l2_device/v4l2_device_test.cpp b/test/v4l2_device/v4l2_device_test.cpp
index 2bdf8cfe..4225291b 100644
--- a/test/v4l2_device/v4l2_device_test.cpp
+++ b/test/v4l2_device/v4l2_device_test.cpp
@@ -63,5 +63,9 @@ void V4L2DeviceTest::cleanup()
{
media_->release();
+ capture_->streamOff();
+ capture_->releaseBuffers();
+ capture_->close();
+
delete capture_;
};