espressif / esp-homekit-sdk

562 stars 105 forks source link

hap_char_update_val memory leak #5

Closed MacWyznawca closed 3 years ago

MacWyznawca commented 3 years ago

If hap_char_update_val is called from other task than service write or service read, has memory leak. Lost 116-240 bytes after return. Only if value has changed.

MacWyznawca commented 3 years ago

I found solution: https://github.com/espressif/esp-homekit-sdk/pull/6

MacWyznawca commented 3 years ago

After commit a977eaa works great!