Raphaelcoeffic/fix 6716 (#6753)

fixed file descriptor leaks in radio tools
This commit is contained in:
Bertrand Songis
2019-09-12 10:02:15 +02:00
committed by GitHub
parent 3db78814e8
commit 0aaf2a39f1
6 changed files with 320 additions and 4 deletions
+2 -1
View File
@@ -116,6 +116,7 @@ void menuRadioTools(event_t event)
if (isRadioScriptTool(fno.fname))
addRadioScriptTool(index++, path);
}
f_closedir(&dir);
}
#endif
@@ -124,4 +125,4 @@ void menuRadioTools(event_t event)
}
reusableBuffer.radioTools.linesCount = index;
}
}