diff --git a/Client/UfrmMain.pas b/Client/UfrmMain.pas index d784644..feeeebe 100644 --- a/Client/UfrmMain.pas +++ b/Client/UfrmMain.pas @@ -801,6 +801,7 @@ begin (not frmMoveSettings.cbAsk.Checked) or ConfirmAction then begin targetBlocks := TBlockInfoList.Create; + try if SelectedTile = targetTile then begin blockInfo := nil; @@ -901,7 +902,9 @@ begin end; end; - targetBlocks.Free; + finally + targetBlocks.Free; + end; end; end; end;