Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/Compiler/Delphi/Interfaces    [ Add a report in this area ]  
Report #:  71015   Status: Open
Leaks on interface-type parameters
Project:  Delphi Build #:  12.0.3210.17555
Version:    12.1 Submitted By:   Alexey Kazantsev
Report Type:  Crash / Data loss / Total failure Date Reported:  1/31/2009 7:19:43 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   268053
Resolution: Duplicate (Resolution Comments) Resolved in Build: : None
Duplicate of:  75036
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 4
Description

...
Test(TMyObject.Create('1')); // will not be destroyed
Test(IInterface(TMyObject.Create('2'))); // will not be destroyed
Test(TMyObject.Create('3') As IInterface);

for details see attachments.
Steps to Reproduce:
see Attachments
Workarounds
None
Attachment
intfs.zip
Comments

Tomohiro Takahashi at 1/31/2009 8:52:00 PM -
Is there any changes compared to older version(2007,2006,2005 etc...)?

Alexey Kazantsev at 2/1/2009 2:56:35 AM -
Turbo Delphi also has this bug

Krystian Bigaj at 11/26/2009 12:05:06 PM -
IMHO not a bug, see this duplicated report and comment: http://qc.embarcadero.com/wc/qcmain.aspx?d=75036

Tomohiro Takahashi at 11/28/2009 9:21:19 PM -
> IMHO not a bug, ...
I think so.
Thanks for the nitification. I will check the internal status.

MPS Informática at 12/8/2010 5:32:46 AM -
See my comment to the ticket #90025. It´s about the same matter (not a bug).

Server Response from: ETNACODE01