Browse Source

close the directory before discarding it

closes #25
pull/26/head
Philipp Tölke 4 years ago
parent
commit
386f659c27
  1. 5
      vfs.c

5
vfs.c

@ -134,7 +134,10 @@ vfs_dir_t* vfs_opendir(vfs_t* vfs, const char* path) {
}
void vfs_closedir(vfs_dir_t* dir) {
free(dir);
if (dir) {
f_closedir(dir);
free(dir);
}
}
struct tm dummy = {

Loading…
Cancel
Save