fpspreadsheet: Fix memory leak in worksheetgrid (due to FrozenBorderPen)

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5919 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz 2017-06-07 07:02:10 +00:00
parent 4ae66829d4
commit 2a1ae05840

View File

@ -1310,6 +1310,7 @@ begin
FInternalWorkbookSource.RemoveListener(self); // will be destroyed automatically
FreeAndNil(FCellFont);
FreeAndNil(FSelPen);
FreeAndNil(FFrozenBorderPen);
FreeAndNil(FMultilineStringEditor);
inherited Destroy;
end;