mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
Fixed a memory leak with ^Y
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2540 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
600e0da443
commit
f181dca67d
1 changed files with 3 additions and 1 deletions
|
|
@ -305,8 +305,10 @@ static void key_yank_from_cutbuffer(void)
|
|||
char *cutbuffer;
|
||||
|
||||
cutbuffer = gui_entry_get_cutbuffer(active_entry);
|
||||
if (cutbuffer != NULL)
|
||||
if (cutbuffer != NULL) {
|
||||
gui_entry_insert_text(active_entry, cutbuffer);
|
||||
g_free(cutbuffer);
|
||||
}
|
||||
}
|
||||
|
||||
static void key_transpose_characters(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue