Skip to content
New issue

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

内存申请后没有释放 #41

Open
linrx1511 opened this issue Jan 25, 2016 · 1 comment
Open

内存申请后没有释放 #41

linrx1511 opened this issue Jan 25, 2016 · 1 comment

Comments

@linrx1511
Copy link

有两次内存申请后没有释放,长时间运行heap会不断减少,可能是造成长时间工作后断线问题原因:
1、在pando_cloud_access.c的mqtt_data_cb()内使用了char *topic_buf,申请的内存没有释放;
2、同样的pando_zero_device.c内device_buffer也是没有释放。

@sw0813
Copy link
Member

sw0813 commented Jan 27, 2016

非常好,确实是

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants