LIST: plug memory leak
This commit is contained in:
parent
912cae0c9c
commit
b9a32bd24b
1 changed files with 2 additions and 0 deletions
|
@ -480,7 +480,9 @@ static void safelist_iterate_client(struct Client *source_p)
|
|||
{
|
||||
if (safelist_sendq_exceeded(source_p->from) == YES)
|
||||
{
|
||||
rb_free(source_p->localClient->safelist_data->chname);
|
||||
source_p->localClient->safelist_data->chname = rb_strdup(chptr->chname);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue