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

Fixes #52. Clears newly allocated payload temporary copy once used. #73

Merged
merged 1 commit into from
Apr 26, 2021
Merged

Conversation

adamfowleruk
Copy link
Contributor

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

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>
@adamfowleruk adamfowleruk merged commit d0a40c2 into theheraldproject:develop Apr 26, 2021
@adamfowleruk adamfowleruk deleted the feature-52 branch April 26, 2021 14:49
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

Successfully merging this pull request may close these issues.

1 participant