mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-11 05:54:16 +01: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:
parent
c111f66112
commit
2aee42a12c
@ -44,6 +44,7 @@ File::File(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
File::~File(void) {
|
File::~File(void) {
|
||||||
|
close();
|
||||||
// Serial.print("Deleted file object");
|
// Serial.print("Deleted file object");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user