(thanks to dynamic_cast in FreeFiles, it was not crashing) (cherry picked from commit 6e60cf5d665ec3c79c4b6c80212e697009cf7be7) Source commit: e587d884892c9226cf22818c22200ef331485af7
@@ -1548,7 +1548,7 @@ void __fastcall TScript::PutProc(TScriptProcParams * Parameters)
}
__finally
{
- FreeFileList(FileList);
+ delete FileList;
//---------------------------------------------------------------------------