mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 09:19:22 +02:00
ide: fix memory leak in TPersistentPropertyEditor.GetProperties
git-svn-id: trunk@14749 -
This commit is contained in:
parent
176ed3823c
commit
b154b6f629
@ -4051,6 +4051,7 @@ begin
|
|||||||
if LPersistents <> nil then
|
if LPersistents <> nil then
|
||||||
begin
|
begin
|
||||||
GetPersistentProperties(LPersistents, tkAny, PropertyHook, Proc, nil);
|
GetPersistentProperties(LPersistents, tkAny, PropertyHook, Proc, nil);
|
||||||
|
LPersistents.Free;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user