From dd20f4962d1ad64a9aec03ebbc38a4d97209b494 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sun, 15 Nov 2026 14:20:32 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Nil=20the=20label=20pointer=20wh?= =?UTF-8?q?en=20freeing=20a=20screen=20block=20label?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Freeing without clearing left a dangling reference that a repeated prepare pass would free again. --- Client/UfrmMain.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Client/UfrmMain.pas b/Client/UfrmMain.pas index 9e35418..d784644 100644 --- a/Client/UfrmMain.pas +++ b/Client/UfrmMain.pas @@ -2526,7 +2526,7 @@ begin ABlockInfo^.HighRes := nil; ABlockInfo^.CheckRealQuad := False; - ABlockInfo^.Text.Free; + FreeAndNil(ABlockInfo^.Text); if item is TMapCell then begin