Thema: Delphi Memory Leak?

Einzelnen Beitrag anzeigen

Razor
(Gast)

n/a Beiträge
 
#3

Re: Memory Leak?

  Alt 17. Aug 2007, 19:29
So you mean like this?

Delphi-Quellcode:
procedure tmainfrm.cpuid;
begin
 MiTeC_CPU1.RefreshData;
 RzPanel10.caption:=MiTeC_CPU1.SerialNumber;
 if mitec_cpu1.CPUIDSupported=true then
 RzPanel11.Caption:='Yes'
 else
 RzPanel11.Caption:='No';
end;
MiTeC_CPU1.free;
 RzPanel10.caption.free;

end;
  Mit Zitat antworten Zitat