diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-09-15 14:14:54 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-09-15 17:26:45 +0300 |
commit | 448393f77ec9e37cb807e8e8d35c1a4877d253d4 (patch) | |
tree | 13c324c3a95b6743ab47fa7630b9ba1ec9150c5c /src/android/metadata/camera_metadata_tag_info.c | |
parent | 4ec807192d9f1ef682e2c257cf4d832c35042305 (diff) |
libcamera: proxy: linux: Initialise pointer members at construction time
If the IPAProxyLinux constructor fails to locate the proxy worker, the
socket_ and proc_ member pointers will be left uninitialised, leading
the a crash in the destructor. Initialise them both to nullptr.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/android/metadata/camera_metadata_tag_info.c')
0 files changed, 0 insertions, 0 deletions