From c0cc8b87d21cb890e701a7b04ada056204d8d252 Mon Sep 17 00:00:00 2001 From: prascle Date: Fri, 7 Jul 2006 10:02:04 +0000 Subject: [PATCH] PR: file close missing --- src/LifeCycleCORBA/SALOME_FileTransferCORBA.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/LifeCycleCORBA/SALOME_FileTransferCORBA.cxx b/src/LifeCycleCORBA/SALOME_FileTransferCORBA.cxx index a608f2196..8f7aa6ca7 100644 --- a/src/LifeCycleCORBA/SALOME_FileTransferCORBA.cxx +++ b/src/LifeCycleCORBA/SALOME_FileTransferCORBA.cxx @@ -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()); -- 2.39.2