close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 14 years ago

Last modified 14 years ago

#1138 closed defect

Memory leak in Excel.ReadCell — at Initial Version

Reported by: Víctor de Buen Remiro Owned by: Jorge
Priority: highest Milestone: Mantainance
Component: Excel API Version: head
Severity: blocker Keywords:
Cc:

Description

Next code shows how function Excel.ReadCell lost three objects in each iteration.

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
});

Change History (0)

Note: See TracTickets for help on using tickets.