Plug memory leak

This commit is contained in:
Federico G. Schwindt 2013-08-23 11:43:28 +01:00
parent 3af0ece2bc
commit eb86d234f8
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}