public void MakeLeak(int iObj) { for (int i = 0; i < iObj; i++) { Mv_Obj[i] = new ByteObject(i / 10 + 1); Mv_Obj1[i] = new ByteObject(i / 10 + 1); } for (int i = 0; i < iObj; i++) { Mv_Obj[i] = null; Mv_Obj1[i] = null; } }
public void MakeLeak(int iObj) { for(int i=0; i<iObj; i++) { Mv_Obj[i] = new ByteObject(i/10+1); Mv_Obj1[i] = new ByteObject(i/10+1); } for(int i=0; i<iObj; i++) { Mv_Obj[i] = null; Mv_Obj1[i] = null; } }