]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
*** empty log message ***
authorageay <ageay>
Wed, 20 Oct 2010 16:04:50 +0000 (16:04 +0000)
committerageay <ageay>
Wed, 20 Oct 2010 16:04:50 +0000 (16:04 +0000)
src/MEDLoader/MEDLoader.cxx

index 1f772589eb16e980619aa739b0784f574cd40c3e..d7ecf682ac37ef1bd633f38ca434ac53fa847abc 100644 (file)
@@ -1126,14 +1126,12 @@ void MEDLoaderNS::readUMeshDataInMedFile(med_idt fid, med_int meshId, DataArrayD
           int *connTab=new int[(curMedType%100)*curNbOfElem];
           int *fam=new int[curNbOfElem];
           MEDLoader::MEDConnOfOneElemType elem(typmai2[i],connTab,0,fam,curNbOfElem,-1);
-          int *tmp=new int[curNbOfElem];
           char *noms=new char[MED_SNAME_SIZE*curNbOfElem+1];
           med_bool withname=MED_FALSE,withnumber=MED_FALSE,withfam=MED_FALSE;
           int *globArr=new int[curNbOfElem];
           MEDmeshElementRd(fid,nommaa,numdt,numit,whichEntity,curMedType,MED_NODAL,MED_FULL_INTERLACE,connTab,&withname,noms,&withnumber,globArr,&withfam,fam);
           if(!withfam)
             std::fill(fam,fam+curNbOfElem,0);
-          delete [] tmp;
           delete [] noms;
           //trying to read global numbering
           if(withnumber)