Skip to content

Commit 6732677

Browse files
committed
Merge pull request #1383 from bjelojac/patch-1
Fix for #814, Memory Leak
2 parents a340140 + 2aee42a commit 6732677

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/SD/File.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ File::File(void) {
4444
}
4545

4646
File::~File(void) {
47+
close();
4748
// Serial.print("Deleted file object");
4849
}
4950

0 commit comments

Comments
 (0)