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>
This commit is contained in:
parent
c91d7bb980
commit
f5d3a956cc
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class VimcCameraData : public CameraData
|
|||
{
|
||||
public:
|
||||
VimcCameraData(PipelineHandler *pipe)
|
||||
: CameraData(pipe)
|
||||
: CameraData(pipe), video_(nullptr), sensor_(nullptr)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue