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

Memory leak #24

Open
DigitalStealth opened this issue Jun 27, 2018 · 1 comment
Open

Memory leak #24

DigitalStealth opened this issue Jun 27, 2018 · 1 comment

Comments

@DigitalStealth
Copy link

DigitalStealth commented Jun 27, 2018

free(attr_accessories_json);

Here is almost same as my previous issue but you used free() for cJSON object and free only a root but not chain. You must to use cJSON_Delete() here.

Regards

@younghyunjo
Copy link
Owner

I will check the memory leak.
Thanks :)

willson556 added a commit to willson556/esp32-homekit that referenced this issue Apr 22, 2019
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