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

scheduled function: replacing new by malloc needs to initialize complex members #6233

Merged
merged 4 commits into from
Jun 26, 2019

Conversation

d-a-v
Copy link
Collaborator

@d-a-v d-a-v commented Jun 26, 2019

Functional was not initialized because of malloc() instead of new.
First assignment calls destructor on initial value which was not constructed (->frozen,wdt)

…ex members

functional was not initialized because of malloc() instead of new
first assignment calls destructor on initial value which was not constructed (->frozen,wdt)
@d-a-v d-a-v merged commit b94ea92 into esp8266:master Jun 26, 2019
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.

None yet

1 participant