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…
Reference in New Issue