Skip to content

Conversation

polldo
Copy link
Contributor

@polldo polldo commented Oct 6, 2020

Default local characteristics and services are now allocated in the HEAP.
This change is needed for CI integration. Indeed, if these attributes are allocated in the STACK they cannot be freed by the 'delete' statement actually called by their destructors.
Downside: being allocated in the HEAP, their memory usage will not be counted in the estimated amount of RAM occupied by a resulting program that includes this library.

Default local characteristics and services are now allocated in the HEAP.
This change is needed for CI integration. Indeed, if these attributes are allocated in the STACK they cannot be freed by the 'delete' statement used in their destructors.
Downside: their memory usage will not be counted in the estimated amount of RAM occupated by a resulting program that includes this library.
@polldo polldo requested a review from facchinm October 6, 2020 16:00
@polldo polldo merged commit cc653c2 into arduino-libraries:master Oct 6, 2020
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.

2 participants