No need to be paranoid about clearing auth_user.

It is a username, not a password.
This commit is contained in:
Jilles Tjoelker 2010-01-31 01:30:25 +01:00
parent e37a8398ce
commit 66a1809526
1 changed files with 1 additions and 7 deletions

View File

@ -224,13 +224,6 @@ free_local_client(struct Client *client_p)
rb_close(client_p->localClient->F); rb_close(client_p->localClient->F);
} }
if (client_p->localClient->auth_user)
{
memset(client_p->localClient->auth_user, 0,
strlen(client_p->localClient->auth_user));
rb_free(client_p->localClient->auth_user);
}
if(client_p->localClient->passwd) if(client_p->localClient->passwd)
{ {
memset(client_p->localClient->passwd, 0, memset(client_p->localClient->passwd, 0,
@ -238,6 +231,7 @@ free_local_client(struct Client *client_p)
rb_free(client_p->localClient->passwd); rb_free(client_p->localClient->passwd);
} }
rb_free(client_p->localClient->auth_user);
rb_free(client_p->localClient->challenge); rb_free(client_p->localClient->challenge);
rb_free(client_p->localClient->fullcaps); rb_free(client_p->localClient->fullcaps);
rb_free(client_p->localClient->opername); rb_free(client_p->localClient->opername);