fix mem leak (#16456)

This commit is contained in:
River Li
2023-03-22 13:45:03 +08:00
committed by GitHub
parent 95636f7715
commit a204b04fae

View File

@@ -72,6 +72,7 @@ struct infer_result* tensor_to_infer_result(ov_tensor_t* tensor, size_t* result_
results[i].probability = float_data[i];
}
ov_shape_free(&output_shape);
return results;
}