We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
响应rrpc时只要加了messageID就会有内存泄露,不加就不会有,加上messageID信息可以正常发送物联网平台也可以接收到反馈;messageID正确与否都会有泄露 以下用法有内存泄露 #define ALINK_RRPC_RESPONSE "/sys/"PRODUCT_KEY"/"DEVICE_NAME"/rrpc/response/1067567546" rc = IOT_MQTT_Publish(pclient, ALINK_RRPC_RESPONSE, &topic_msg); 修改成如下就不会有泄露,当然收不到数据 #define ALINK_RRPC_RESPONSE "/sys/"PRODUCT_KEY"/"DEVICE_NAME"/rrpc/response rc = IOT_MQTT_Publish(pclient, ALINK_RRPC_RESPONSE, &topic_msg);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
响应rrpc时只要加了messageID就会有内存泄露,不加就不会有,加上messageID信息可以正常发送物联网平台也可以接收到反馈;messageID正确与否都会有泄露
以下用法有内存泄露
#define ALINK_RRPC_RESPONSE "/sys/"PRODUCT_KEY"/"DEVICE_NAME"/rrpc/response/1067567546"
rc = IOT_MQTT_Publish(pclient, ALINK_RRPC_RESPONSE, &topic_msg);
修改成如下就不会有泄露,当然收不到数据
#define ALINK_RRPC_RESPONSE "/sys/"PRODUCT_KEY"/"DEVICE_NAME"/rrpc/response
rc = IOT_MQTT_Publish(pclient, ALINK_RRPC_RESPONSE, &topic_msg);
The text was updated successfully, but these errors were encountered: