From 5298368052a6c6bfc93c68cb00a3cb50b0c1fa7c Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Wed, 12 Feb 2025 10:53:35 +0000 Subject: [PATCH] LazMapViewer: Remove the FreeAndNil which had crept into previous commit for testing. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@9629 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/lazmapviewer/source/mvplugincommon.pas | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/lazmapviewer/source/mvplugincommon.pas b/components/lazmapviewer/source/mvplugincommon.pas index ef30029c1..f4b765f69 100644 --- a/components/lazmapviewer/source/mvplugincommon.pas +++ b/components/lazmapviewer/source/mvplugincommon.pas @@ -994,8 +994,7 @@ begin while FPluginList.Count > 0 do FPluginList[FPluginList.Count-1].Free; FPluginList.Free; - FreeAndNil(FMapList); -// FMapList.Free; + FMapList.Free; inherited; end;