mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04: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
@ -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…
Reference in New Issue
Block a user