Memory leak in CreateParameter???



Hi,

I have experiencing memory leaks in the following code. If I execute it
several times, the process is consuming more memory in increments of 4Kb.

ADOStoredProc1 := TADOStoredProc.Create(Self);
try
ADOStoredProc1.Connection := ADOConnection1;
ADOStoredProc1.ProcedureName := 'SP_TEST;
Parameter := ADOStoredProc1.Parameters.CreateParameter('V_RUT',
ftString, pdInput, 100, '77572740');
ADOStoredProc1.Open;
// here we do something with the result
// ......
ADOStoredProc1.Close;
finally
ADOStoredProc1.Free;
end;


The memory leak occurs whatever is the stored proc I execute.

What is wrong? How can I solve it?

Thanks a lot.

José Gallegos A.


.