comdlg32: Free tmp_files after it's used (coverity).
This commit is contained in:
parent
a5a99047e4
commit
b302e1f2a5
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue