[client] Close directory handle after checking folder lock.

This commit is contained in:
Jiaqiang Xu 2015-11-24 17:00:44 +08:00
parent 41161fd293
commit fb1a3ebf61

View File

@ -1055,9 +1055,8 @@ check_dir_locked_recursive (const wchar_t *path_w)
path, error);
}
FindClose (handle);
out:
FindClose (handle);
g_free (path);
g_free (pattern);
return ret;