Fix leaks.

git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4845 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2008-05-23 09:59:59 +00:00 committed by exg
commit 3236daa97a
4 changed files with 6 additions and 5 deletions

View file

@ -197,8 +197,6 @@ char *word_complete(WINDOW_REC *window, const char *line, int *pos, int erase, i
signal_emit("complete erase", 3, window, word, linestart);
/* jump to next completion */
word = NULL;
linestart = NULL;
startpos = old_startpos;
wordlen = old_wordlen;
}