mirror of
https://github.com/osmarks/ngircd.git
synced 2025-10-29 13:07:40 +00:00
Plug memory leak
This commit is contained in:
@@ -126,6 +126,8 @@ Client_Exit( void )
|
||||
next = (CLIENT *)c->next;
|
||||
if (c->account_name)
|
||||
free(c->account_name);
|
||||
if (c->cloaked)
|
||||
free(c->cloaked);
|
||||
free( c );
|
||||
c = next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user