[fpc-devel] Need patch for bugs : 0011503 / 0009472

Boian Mitov mitov at mitov.com
Thu Jun 19 15:32:27 CEST 2008


function  TOWLock.StopLock() : IOWLockSection;
begin
  Result := TOWSimpleStopLockSection.Create( Self );
end;

This is a completely different object.

  With best regards,
    Boian Mitov

--------------------------------------------------------------------
Mitov Software
http://www.mitov.com
--------------------------------------------------------------------


----- Original Message ----- 
From: "Florian Klaempfl" <florian at freepascal.org>
To: "FPC developers' list" <fpc-devel at lists.freepascal.org>
Sent: Thursday, June 19, 2008 6:27 AM
Subject: Re: [fpc-devel] Need patch for bugs : 0011503 / 0009472


> Boian Mitov schrieb:
>>     Michael,
>> 
>> I never call Free() on interfaced object. I surely know that if I have 
>> used interfaces for the last 10 years or so ;-) .
> 
> See my other mail. You do a WriteLock:=FLock.StopLock(); call. Every 
> interface is associated with a class instance. With which class instance 
> is WriteLock associated?




More information about the fpc-devel mailing list