]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: file close missing
authorprascle <prascle>
Fri, 7 Jul 2006 10:02:04 +0000 (10:02 +0000)
committerprascle <prascle>
Fri, 7 Jul 2006 10:02:04 +0000 (10:02 +0000)
src/LifeCycleCORBA/SALOME_FileTransferCORBA.cxx

index a608f2196997c3e195a8fd93040840550d5519fd..8f7aa6ca70a8e324eedc21a8b2eed475cf575907 100644 (file)
@@ -184,6 +184,7 @@ string SALOME_FileTransferCORBA::getLocalFile(string localFile)
              int nbWri = fwrite(buf, sizeof(CORBA::Octet), toFollow, fp);
              ASSERT(nbWri == toFollow);
            }
+         fclose(fp);
          MESSAGE("end of transfer");
          fileTransfer->close(fileId);
          _theFileRef->addRef(myMachine.c_str(), localFile.c_str());