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:
parent
4ae66829d4
commit
2a1ae05840
@ -1310,6 +1310,7 @@ begin
|
||||
FInternalWorkbookSource.RemoveListener(self); // will be destroyed automatically
|
||||
FreeAndNil(FCellFont);
|
||||
FreeAndNil(FSelPen);
|
||||
FreeAndNil(FFrozenBorderPen);
|
||||
FreeAndNil(FMultilineStringEditor);
|
||||
inherited Destroy;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user