mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 10:12:39 +01:00
Unref privset of quitting oper.
This commit is contained in:
parent
f85a5a3f20
commit
0e52d0d4cf
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue