Explorar o código

Uninitialized variable

Source commit: 2aef5e7c9ed7b909ef4f98bdeba4a1c4fd6f5606
Martin Prikryl %!s(int64=8) %!d(string=hai) anos
pai
achega
693fe81a24
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      source/core/FtpFileSystem.cpp

+ 1 - 0
source/core/FtpFileSystem.cpp

@@ -2529,6 +2529,7 @@ void __fastcall TFTPFileSystem::ReadFile(const UnicodeString FileName,
       AFile = new TRemoteDirectoryFile();
       AFile->FullFileName = FileName;
       AFile->FileName = L"";
+      Own = true;
     }
     else
     {