mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 05:36:10 +02:00
Bug fix for memory leak for USE_GENERICS_COLLECTIONS version.
git-svn-id: trunk@51179 -
This commit is contained in:
parent
11c388e6d2
commit
0015151c63
@ -27,11 +27,7 @@ uses
|
||||
type
|
||||
{ TDesignedFormImpl }
|
||||
|
||||
{$IFDEF USE_GENERICS_COLLECTIONS}
|
||||
TDesignedFormImpl = class(TSingletonImplementation, IDesignedRealFormHelper, IDesignedForm)
|
||||
{$ELSE}
|
||||
TDesignedFormImpl = class(TComponent, IDesignedRealFormHelper, IDesignedForm)
|
||||
{$ENDIF}
|
||||
private
|
||||
FOwner: TForm;
|
||||
FDesignedRealForm: IDesignedRealForm;
|
||||
|
@ -34,11 +34,7 @@ const
|
||||
type
|
||||
{ TDesignFormData }
|
||||
|
||||
{$IFDEF USE_GENERICS_COLLECTIONS}
|
||||
TDesignFormData = class(TSingletonImplementation, IDesignedForm)
|
||||
{$ELSE}
|
||||
TDesignFormData = class(TComponent, IDesignedForm)
|
||||
{$ENDIF}
|
||||
private
|
||||
FWndMethod: TWndMethod;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user