diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-08-02 21:36:23 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-08-03 10:58:50 +0200 |
commit | 108b6a8a15487b982612f34bd7b00e7b05be864a (patch) | |
tree | f16962e89bee2661b13f50cc2b6495927cf21e11 /src/qcam/assets/feathericons/battery.svg | |
parent | f0f297c5f26d2e87b9ce819973beac47f361c7ee (diff) |
libcamera: device_enumerator_udev: Initialize monitor_ and notifier_ to nullptr
The monitor_ and notifier_ pointers are acted on in the destructor if
not set to nullptr, the pointers are however first initialized in
init() and enumerate(). Avoid acting on uninitialized pointers by
initializing them to nullptr in the constructor.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <email@uajain.com>
Diffstat (limited to 'src/qcam/assets/feathericons/battery.svg')
0 files changed, 0 insertions, 0 deletions