From: Stephan Bosch Date: Fri, 10 Feb 2023 03:57:56 +0000 (+0100) Subject: imap-urlauth: imap-urlauth-worker - Fix event leak. X-Git-Tag: 2.4.0~2968 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2953857848d5c130bc507f3b9570d52038f741ca;p=thirdparty%2Fdovecot%2Fcore.git imap-urlauth: imap-urlauth-worker - Fix event leak. --- diff --git a/src/imap-urlauth/imap-urlauth-worker.c b/src/imap-urlauth/imap-urlauth-worker.c index 97c6eb70e5..f53ea1e5e9 100644 --- a/src/imap-urlauth/imap-urlauth-worker.c +++ b/src/imap-urlauth/imap-urlauth-worker.c @@ -258,6 +258,7 @@ static void client_destroy(struct client *client) array_foreach_elem(&client->access_apps, app) i_free(app); array_free(&client->access_apps); + event_unref(&client->event); i_free(client); imap_urlauth_worker_refresh_proctitle();