calloc
to avoid uninitialized reads
in particular: if a sensor can't be found, then camera->sensor_path is unassigned. this would cause a segfault later, in libmegapixels_open.
Description
Languages
C
94.4%
Meson
3.6%
CMake
2%