Skip to content

Commit

Permalink
Fix crash bug with chanlist->key (was not a free()able pointer)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sound and Fury committed Sep 10, 2010
1 parent 594acbf commit 870eaea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.c
Expand Up @@ -254,6 +254,7 @@ int rcread(FILE *rcfp)
if((new->key=strpbrk(new->name, " \t")))
{
*new->key++=0;
new->key=strdup(new->key);
}
new->igns=NULL;
servs->chans=new;
Expand Down

0 comments on commit 870eaea

Please sign in to comment.