Unref privset of quitting oper.

This commit is contained in:
Jilles Tjoelker 2008-12-14 17:31:42 +01:00
parent f24b187a8e
commit 0ba0bb4ce0
1 changed files with 2 additions and 0 deletions

View File

@ -235,6 +235,8 @@ free_local_client(struct Client *client_p)
rb_free(client_p->localClient->fullcaps); rb_free(client_p->localClient->fullcaps);
rb_free(client_p->localClient->opername); rb_free(client_p->localClient->opername);
rb_free(client_p->localClient->mangledhost); rb_free(client_p->localClient->mangledhost);
if (client_p->localClient->privset)
privilegeset_unref(client_p->localClient->privset);
ssld_decrement_clicount(client_p->localClient->ssl_ctl); ssld_decrement_clicount(client_p->localClient->ssl_ctl);