mirror of
https://github.com/osmarks/ngircd.git
synced 2025-05-29 20:44:09 +00:00
Plug memory leak
This commit is contained in:
parent
3af0ece2bc
commit
eb86d234f8
@ -126,6 +126,8 @@ Client_Exit( void )
|
|||||||
next = (CLIENT *)c->next;
|
next = (CLIENT *)c->next;
|
||||||
if (c->account_name)
|
if (c->account_name)
|
||||||
free(c->account_name);
|
free(c->account_name);
|
||||||
|
if (c->cloaked)
|
||||||
|
free(c->cloaked);
|
||||||
free( c );
|
free( c );
|
||||||
c = next;
|
c = next;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user