[Coverity Scan] sample issue from CS fix (#12509)

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>

Signed-off-by: xuejun <Xuejun.Zhai@intel.com>
Co-authored-by: River Li <river.li@intel.com>
This commit is contained in:
Xuejun Zhai
2022-08-16 11:09:00 +08:00
committed by GitHub
parent cfbf5a1808
commit 66257530e3

View File

@@ -12,6 +12,7 @@ extern "C" {
int image_read(const char* img_path, c_mat_t* img) {
BitMap bmp;
bmp.data = NULL;
int retCode = readBmpImage(img_path, &bmp);
img->mat_data = bmp.data;