add missing _findclose

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7884 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 514add2e07826b1b78d3a1ec2cfdf8e33dfb58c9
Former-commit-id: 5b6a445bb37fa23ebe0ecb2b386716f69729cb74
This commit is contained in:
iobyte 2022-01-08 00:07:54 +00:00
parent 134ef75073
commit eaee5ebf78

View file

@ -461,6 +461,7 @@ windowsDirGetList(const char *dir)
}
} while ( _findnext( Dirent, &FData ) != -1 );
}
_findclose(Dirent);
return flist;
}
@ -536,6 +537,7 @@ windowsDirGetListFiltered(const char *dir, const char *prefix, const char *suffi
}
} while (_findnext( Dirent, &FData ) != -1);
}
_findclose(Dirent);
return flist;
}