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

Memory leak in attachSystemInterrupt #927

Closed
monkbroc opened this issue Mar 30, 2016 · 0 comments

Comments

@monkbroc
Copy link
Member

commented Mar 30, 2016

attachSystemInterrupt allocates memory for a handler but doesn't delete the previous handler. detachSystemInterrupt doesn't delete the previous handler either.

https://github.com/spark/firmware/blob/7c5bfd5d009cfd53d496f05eab05bc92b1bd2794/wiring/src/spark_wiring_interrupts.cpp#L153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.