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:
parent
134ef75073
commit
eaee5ebf78
1 changed files with 4 additions and 2 deletions
|
@ -461,7 +461,8 @@ windowsDirGetList(const char *dir)
|
||||||
}
|
}
|
||||||
} while ( _findnext( Dirent, &FData ) != -1 );
|
} while ( _findnext( Dirent, &FData ) != -1 );
|
||||||
}
|
}
|
||||||
|
_findclose(Dirent);
|
||||||
|
|
||||||
return flist;
|
return flist;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -536,7 +537,8 @@ windowsDirGetListFiltered(const char *dir, const char *prefix, const char *suffi
|
||||||
}
|
}
|
||||||
} while (_findnext( Dirent, &FData ) != -1);
|
} while (_findnext( Dirent, &FData ) != -1);
|
||||||
}
|
}
|
||||||
|
_findclose(Dirent);
|
||||||
|
|
||||||
return flist;
|
return flist;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue