Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #52. Clears newly allocated payload temporary copy once used.
Zephyr requires a char* allocation to copy to its attribute cache. Usage is correct. We now also clear up the temporary value. I have confirmed Zephyr doesn't do this itself. Tested on nRF52832DK. Signed-off-by: Adam Fowler <adam@adamfowler.org>
- Loading branch information