diff options
author | Timo Sirainen <cras@irssi.org> | 2002-01-23 20:36:52 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-01-23 20:36:52 +0000 |
commit | 16693c461fd575e87f2b790f0c84b33b073d51f3 (patch) | |
tree | 0255fe685dda038d96edb7ab5801d2f0c8a5333d /src/perl | |
parent | 46a6cf58f3e883b4730067ebc85e2a25f806c1ba (diff) | |
download | irssi-16693c461fd575e87f2b790f0c84b33b073d51f3.zip |
Tab-completion for /SCRIPT UNLOAD crashed irssi soon after
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2342 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/perl')
-rw-r--r-- | src/perl/perl-fe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/perl-fe.c b/src/perl/perl-fe.c index 19889adf..3c47a6d7 100644 --- a/src/perl/perl-fe.c +++ b/src/perl/perl-fe.c @@ -201,7 +201,7 @@ static GList *script_complete(const char *name) PERL_SCRIPT_REC *rec = tmp->data; if (strncmp(rec->name, name, len) == 0) - list = g_list_append(list, rec->name); + list = g_list_append(list, g_strdup(rec->name)); } return list; |