mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 07:19:22 +02:00
cocoa: fix for a memory leak in overlay (designer) form
git-svn-id: trunk@59233 -
This commit is contained in:
parent
0c9d342feb
commit
0944743068
@ -361,6 +361,7 @@ begin
|
|||||||
overlay.retain;
|
overlay.retain;
|
||||||
overlay.removeFromSuperview;
|
overlay.removeFromSuperview;
|
||||||
addSubview_positioned_relativeTo(overlay, NSWindowAbove, nil);
|
addSubview_positioned_relativeTo(overlay, NSWindowAbove, nil);
|
||||||
|
overlay.release;
|
||||||
end;
|
end;
|
||||||
inherited didAddSubview(aview);
|
inherited didAddSubview(aview);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user