A high-performance, high-stability, cross-platform MQTT client, developed based on the socket API, can be used on embedded devices (FreeRTOS / LiteOS / RT-Thread / TencentOS tiny), Linux, Windows, Mac, with a very concise The API interface realizes the quality of service of QOS2 with very few resources, and seamlessly connects the mbedtls encryption library.
杰神,我在写测试用例的时候需要在最终程序退出时调用mqtt_release来释放已经分配的内存,当我调用这句话的时候,走到了这个分支里:
这也就意味着我的测试用例在之前调用mqtt_lease等接口所申请的内存并没有被释放。我在你提供的example样例里没有看到有关于它的使用方法,这里如果正确使用的话该怎么调用它才能成功呢?