소스 검색

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;
   }
 }
 //---------------------------------------------------------------------------