mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Fix leak with $L expando.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4809 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
eb6ee3136f
commit
951a0de704
@ -37,6 +37,7 @@ static char *expando_idletime(SERVER_REC *server, void *item, int *free_ret)
|
|||||||
/* current contents of the input line */
|
/* current contents of the input line */
|
||||||
static char *expando_inputline(SERVER_REC *server, void *item, int *free_ret)
|
static char *expando_inputline(SERVER_REC *server, void *item, int *free_ret)
|
||||||
{
|
{
|
||||||
|
*free_ret = TRUE;
|
||||||
return gui_entry_get_text(active_entry);
|
return gui_entry_get_text(active_entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user