Commit 04fb8a91 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

xdg: Fix a file handle leak (coverity).

parent eaa1b706
......@@ -942,7 +942,10 @@ HRESULT XDG_UserDirLookup(const char * const *xdg_dirs, const unsigned int num_d
if (FAILED(hr))
{
if (hr == E_OUTOFMEMORY)
{
fclose(file);
goto xdg_user_dir_lookup_error;
}
continue;
}
}
......
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