1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-16 11:21:18 +03:00

Fix for #814, Memory Leak

File isn't closed before being released, it leaks. This test has been verified and tested many times.
This commit is contained in:
bjelojac
2013-04-25 13:46:43 -05:00
parent c111f66112
commit 2aee42a12c

View File

@ -44,6 +44,7 @@ File::File(void) {
} }
File::~File(void) { File::~File(void) {
close();
// Serial.print("Deleted file object"); // Serial.print("Deleted file object");
} }