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" <[EMAIL PROTECTED]>
To: "FPC developers' list" <fpc-devel@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?

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to