浏览代码

Not calling FreeFileList for local files list.

(thanks to dynamic_cast in FreeFiles, it was not crashing)

Source commit: c3c357bbcf70ade1b44bc32653536ac8f64a9a27
Martin Prikryl 5 年之前
父节点
当前提交
6e60cf5d66
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      source/core/Script.cpp

+ 1 - 1
source/core/Script.cpp

@@ -1548,7 +1548,7 @@ void __fastcall TScript::PutProc(TScriptProcParams * Parameters)
   }
   __finally
   {
-    FreeFileList(FileList);
+    delete FileList;
   }
 }
 //---------------------------------------------------------------------------