]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
imap-urlauth: imap-urlauth-worker - Fix event leak.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Fri, 10 Feb 2023 03:57:56 +0000 (04:57 +0100)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 20 Feb 2023 09:21:45 +0000 (09:21 +0000)
src/imap-urlauth/imap-urlauth-worker.c

index 97c6eb70e5e7a314e92944f2256b63c68e76f8f8..f53ea1e5e9418927b703fa2e776c4e23b0924b20 100644 (file)
@@ -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();