Changeset 290 for trunk/Packages/CevoComponents/ScreenTools.pas
- Timestamp:
- Feb 26, 2021, 11:56:48 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CevoComponents/ScreenTools.pas
r288 r290 258 258 MenuItem := MenuItems[MenuItems.Count - 1]; 259 259 MenuItems.Delete(MenuItems.Count - 1); 260 MenuItem.Free;260 FreeAndNil(MenuItem); 261 261 end; 262 262 end; … … 439 439 Bmp.Canvas.Draw(0, 0, jtex); 440 440 end; 441 jtex.Free;441 FreeAndNil(jtex); 442 442 end 443 443 else … … 464 464 Bmp.Canvas.draw(0, 0, Png); 465 465 end; 466 Png.Free;466 FreeAndNil(Png); 467 467 end 468 468 else … … 1726 1726 RestoreResolution; 1727 1727 for I := 0 to nGrExt - 1 do begin 1728 GrExt[I].Data.Free;1729 GrExt[I].Mask.Free;1728 FreeAndNil(GrExt[I].Data); 1729 FreeAndNil(GrExt[I].Mask); 1730 1730 FreeMem(GrExt[I]); 1731 1731 end;
Note:
See TracChangeset
for help on using the changeset viewer.