You've already forked lazarus-ccr
RxFPC:fix mem leak in rxdbutils.DataSetLocateThrough - tnx. ssadragon
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6915 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -458,7 +458,8 @@ var
|
||||
Bookmark: TBookmark;
|
||||
begin
|
||||
Result := False;
|
||||
with DataSet do begin
|
||||
with DataSet do
|
||||
begin
|
||||
CheckBrowseMode;
|
||||
if BOF and EOF then Exit;
|
||||
end;
|
||||
@ -470,7 +471,11 @@ begin
|
||||
if SearchOrigin = rsdAll then
|
||||
begin
|
||||
Result := CompareRecord;
|
||||
if Result then Exit;
|
||||
if Result then
|
||||
begin
|
||||
Fields.Free;
|
||||
Exit;
|
||||
end;
|
||||
end;
|
||||
|
||||
DataSet.DisableControls;
|
||||
|
Reference in New Issue
Block a user