Mercurial > dovecot > core-2.2
changeset 20703:5ac29b54b474
imap: Fixed assert-crash if un-hibernation failed to initialize user.
master_service_client_connection_destroyed() was also being called in
imap_master_client_destroy() so it was done twice.
Fixes:
Panic: file master-service.c: line 775 (master_service_client_connection_destroyed): assertion failed: (service->total_available_count > 0)
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Wed, 07 Sep 2016 22:00:14 +0300 |
parents | d02d6f19ff13 |
children | 70a4f52e32b3 |
files | src/imap/imap-master-client.c |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/imap/imap-master-client.c Mon Sep 05 12:42:08 2016 +0300 +++ b/src/imap/imap-master-client.c Wed Sep 07 22:00:14 2016 +0300 @@ -215,7 +215,6 @@ if (ret < 0) { i_error("imap-master(%s): Failed to create client: %s", input.username, error); - master_service_client_connection_destroyed(master_service); i_close_fd(&fd_client); return -1; }