﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1138	Memory leak in Excel.ReadCell	Víctor de Buen Remiro	Jorge	"Next code shows how function {{{ Excel.ReadCell }}} lost three objects in each iteration.
{{{
#!cpp
Real CheckMemoryLeakInCycle (4, Real(Real void)
{
  Real xls = Excel.Open(""../test_0001/data.xls"");
  Real Excel.ActivateWS(xls,1);
  Anything cell = Excel.ReadCell(xls,[[1, 1]]);
  Real Excel.Close(xls);
  True
});
}}}
'''ouput:'''
{{{
lost objects = 12 in 4 iterations
lost objects by iteration= 3
}}}

However {{{Excel.ReadText}}} doesn't lost any object
{{{
#!cpp
Real CheckMemoryLeakInCycle (4, Real(Real void)
{
  Real xls = Excel.Open(""../test_0001/data.xls"");
  Real Excel.ActivateWS(xls,1);
  Text cell = Excel.ReadText(xls,[[1, 1]]);
  Real Excel.Close(xls);
  True
});
}}}

'''ouput:'''
{{{
lost objects = 0 in 4 iterations
lost objects by iteration= 0
}}}
"	defect	closed	highest	Mantainance	Excel API	head	blocker	fixed		
