arduino / arduino/Arduino

PImage / Adafruit_GFX::image(..) memory corruption issue. Should close file after reading

Open
#1,497 0 comments 0 reactions 1 assignee Claimed by @cmaglie View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.