No need to be paranoid about clearing auth_user.
It is a username, not a password.
This commit is contained in:
parent
fcb057992c
commit
90afc118fd
1 changed files with 1 additions and 7 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue