PImage / Adafruit_GFX::image(..) memory corruption issue. Should close file after reading
Open
Component: Core
Type: Bug
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
Arduino 1.0.5
If not closed, memory corruption occurs after a while. Adding:
img._bmpFile.close();
at the end of the Adafruit_GFX::image(..) function solved the problem for me.
relates to #814
Contributor guide
Assessment
This issue has not been assessed yet.