mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 21:09:30 +02:00
Gtk3: fixed mem leak when using gtk_widget_get_style(). Patch by Anton Kavalenka. issue #41371
This commit is contained in:
parent
e454516c68
commit
67ff91cf1f
@ -1087,6 +1087,8 @@ begin
|
||||
end;
|
||||
{$ENDIF}
|
||||
end;
|
||||
if Assigned(MainStyle) then
|
||||
MainStyle^.unref;
|
||||
end;
|
||||
|
||||
function GetStyleWithName(const WName: String): PStyleObject;
|
||||
|
Loading…
Reference in New Issue
Block a user