Skip to content

Commit

Permalink
imap: Fixed assert-crash if un-hibernation failed to initialize user.
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
sirainen committed Sep 7, 2016
1 parent b3a3731 commit 51b18a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/imap/imap-master-client.c
Expand Up @@ -215,7 +215,6 @@ imap_master_client_input_args(struct connection *conn, const char *const *args,
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;
}
Expand Down

0 comments on commit 51b18a2

Please sign in to comment.