diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-08-05 13:49:32 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-08-11 02:16:21 +0200 |
commit | f5d3a956cc968478b5e10a6a71ef58c10bf05333 (patch) | |
tree | 3a855eaf6a0fc58425cd6a2a7ec76b60ef6f6cbb /src | |
parent | c91d7bb98039e216ad2544e9052949f1466c5261 (diff) |
libcamera: pipeline: vimc: Initialize device pointers
As the device pointers are deleted in the pipelines destructor it's not
a good idea to have them uninitialized.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libcamera/pipeline/vimc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/pipeline/vimc.cpp b/src/libcamera/pipeline/vimc.cpp index 61b68a32..3d680822 100644 --- a/src/libcamera/pipeline/vimc.cpp +++ b/src/libcamera/pipeline/vimc.cpp @@ -35,7 +35,7 @@ class VimcCameraData : public CameraData { public: VimcCameraData(PipelineHandler *pipe) - : CameraData(pipe) + : CameraData(pipe), video_(nullptr), sensor_(nullptr) { } |