Repository navigation
release v0.14.0.0
·
376 commits
to develop
since this release
ciot_c Release
Changes
Error handling improvements:
- Added a new macro
CIOT_ERR_MEMORY_CHECKinciot_err.hto standardize and simplify memory allocation error checking throughout the codebase.
Memory management and function refactoring:
- Refactored the
ciot_save_cfgfunction inciot.cto allocate theciot_msg_tstructure dynamically usingcalloc, apply the new memory check macro, and ensure the allocated memory is freed after use. This reduces stack usage and improves robustness against memory allocation failures.