From: ouv Date: Fri, 8 Sep 2006 07:35:07 +0000 (+0000) Subject: SWP13333 : Copy/Paste med-objects in Post-Pro is incorrect X-Git-Tag: Before_Merging_V3_2_0_maintainance_21Sep06~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=023ae2f68e91b2d7f6d7df70e3002c535c810576;p=modules%2Fvisu.git SWP13333 : Copy/Paste med-objects in Post-Pro is incorrect --- diff --git a/src/VISU_I/VISU_Gen_i.cc b/src/VISU_I/VISU_Gen_i.cc index b462efcb..375287ca 100644 --- a/src/VISU_I/VISU_Gen_i.cc +++ b/src/VISU_I/VISU_Gen_i.cc @@ -1053,6 +1053,7 @@ namespace VISU stmIn.seekg(0, ios::beg); char* aString = new char[aLength+1]; stmIn.read(aString, aLength); + stmIn.close(); aString[aLength] = 0; myIsMultiFile = false;