mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 15:28:14 +02:00
LCL-GTK2: Free memory block after use. Issue #31641, patch from Anton Kavalenka.
git-svn-id: trunk@54554 -
This commit is contained in:
parent
816fe397ca
commit
38cf175df2
@ -1075,6 +1075,7 @@ begin
|
||||
if (AStart <> AEnd) then
|
||||
gtk_clipboard_set_text(gtk_clipboard_get(GDK_SELECTION_PRIMARY), p, -1);
|
||||
gtk_editable_select_region(PGtkEditable(AGtkWidget), 0, 0);
|
||||
g_free(p);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user