diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-04-21 14:00:02 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-04-21 14:00:02 +0000 |
commit | 951a0de7049e832e20c9dab1d1ed699d72b4649e (patch) | |
tree | cb8400d7df03f4a065c85f93198f85c24619480c /src | |
parent | eb6ee3136fd3f8c69da226f0bdcbeeada38aea4f (diff) | |
download | irssi-951a0de7049e832e20c9dab1d1ed699d72b4649e.zip |
Fix leak with $L expando.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4809 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/gui-expandos.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-text/gui-expandos.c b/src/fe-text/gui-expandos.c index fd9665e5..064a0955 100644 --- a/src/fe-text/gui-expandos.c +++ b/src/fe-text/gui-expandos.c @@ -37,6 +37,7 @@ static char *expando_idletime(SERVER_REC *server, void *item, int *free_ret) /* current contents of the input line */ static char *expando_inputline(SERVER_REC *server, void *item, int *free_ret) { + *free_ret = TRUE; return gui_entry_get_text(active_entry); } |