You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mgos_homeassistant_:104 Could not create barometer of type bme280 at i2caddr -1
...
Direct leak of 16 byte(s) in 1 object(s) allocated from:
#0 0x4da338 in calloc (/home/liviu/mos/homeassistant-demo/build/objs/homeassistant-demo.elf+0x4da338)
#1 0x5599ac in mgos_homeassistant_barometer_fromjson /home/liviu/.mos/deps/homeassistant/src/mgos_homeassistant_barometer.c:101:13
The text was updated successfully, but these errors were encountered:
QRPp
added a commit
to QRPp/homeassistant
that referenced
this issue
Sep 4, 2021
When bailing out between allocation of struct mgos_homeassistant_barometer and
creation of a struct mgos_homeassistant_object, the former wasn't free()d.
(*) Also drop a repeated pointer check in barometer_pre_remove_cb().
Log:
The text was updated successfully, but these errors were encountered: