Unref privset of quitting oper.
This commit is contained in:
parent
f24b187a8e
commit
0ba0bb4ce0
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue