mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 16:49:42 +02:00
* Fixed access violation on destroy
git-svn-id: trunk@8355 -
This commit is contained in:
parent
cadcfa76d8
commit
19f4e1e9f6
@ -606,12 +606,12 @@ begin
|
||||
end;
|
||||
FIsOpen:=False;
|
||||
FFileModified:=False;
|
||||
BindFields(False);
|
||||
// BindFields(False);
|
||||
if DefaultFields then begin
|
||||
DestroyFields;
|
||||
end;
|
||||
FreeAndNil(FFieldOffsets);
|
||||
FreeAndNil(FFieldSizes);
|
||||
FreeMem(FFieldOffsets);
|
||||
FreeMem(FFieldSizes);
|
||||
end;
|
||||
|
||||
procedure TMemDataset.InternalPost;
|
||||
|
Loading…
Reference in New Issue
Block a user