0
0
Fork 0
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:
Jilles Tjoelker 2008-12-14 17:31:42 +01:00
parent f85a5a3f20
commit 0e52d0d4cf

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);