mirror of
https://github.com/osmarks/ngircd.git
synced 2025-11-05 00:12:59 +00:00
Plug memory leak
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user