summaryrefslogtreecommitdiff
path: root/test/gstreamer/gstreamer_device_provider_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/gstreamer/gstreamer_device_provider_test.cpp')
-rw-r--r--test/gstreamer/gstreamer_device_provider_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gstreamer/gstreamer_device_provider_test.cpp b/test/gstreamer/gstreamer_device_provider_test.cpp
index c8606b90..237af8cd 100644
--- a/test/gstreamer/gstreamer_device_provider_test.cpp
+++ b/test/gstreamer/gstreamer_device_provider_test.cpp
@@ -34,7 +34,7 @@ protected:
int run() override
{
- g_autoptr(GstDeviceProvider) provider;
+ g_autoptr(GstDeviceProvider) provider = NULL;
GList *devices, *l;
std::vector<std::string> cameraNames;
std::unique_ptr<libcamera::CameraManager> cm;