Commit 0ae958f9 authored by Fumitoshi Ukai's avatar Fumitoshi Ukai

Merge pull request #56 from rhencke/fix-test

Fix double-free in unit test on Windows.
parents 013a36bd c10e6ec1
......@@ -635,7 +635,8 @@ static void GetFiles(const string& pattern, vector<string>* files) {
do {
files->push_back(dirname + data.cFileName);
} while (FindNextFileA(handle, &data));
LOG_SYSRESULT(FindClose(handle));
BOOL result = FindClose(handle);
LOG_SYSRESULT(result);
#else
# error There is no way to do glob.
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment