Commit b302e1f2 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

comdlg32: Free tmp_files after it's used (coverity).

parent a5a99047
......@@ -417,6 +417,7 @@ static HRESULT on_default_action(FileDialogImpl *This)
{
UINT size_used;
file_count = COMDLG32_SplitFileNames(tmp_files, len, &files, &size_used);
CoTaskMemFree(tmp_files);
}
if(!file_count) return E_FAIL;
......
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