mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 19:59:14 +02:00
TAChart: Fix memory leak in TDbChartSource.BeforeDraw
git-svn-id: trunk@38735 -
This commit is contained in:
parent
643c170bbe
commit
76446726f9
@ -156,7 +156,7 @@ procedure TDbChartSource.BeforeDraw;
|
||||
begin
|
||||
inherited BeforeDraw;
|
||||
VLockedDatasets.Add(FDataLink.DataSet);
|
||||
if FDataLink.Active then
|
||||
if FDataLink.Active and (FBookmark = nil) then
|
||||
FBookmark := FDataLink.DataSet.GetBookmark;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user