Skip to content

Commit

Permalink
doveadm-server: Deinitialize print on connection destroy
Browse files Browse the repository at this point in the history
Otherwise print remains initialized and can break when reusing the service.
  • Loading branch information
cmouse authored and Timo Sirainen committed Aug 18, 2017
1 parent 1707f8b commit 9f24d61
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doveadm/client-connection.c
Expand Up @@ -561,6 +561,8 @@ void client_connection_destroy(struct client_connection **_conn)

*_conn = NULL;

doveadm_print_deinit();

if (conn->ssl_iostream != NULL)
ssl_iostream_destroy(&conn->ssl_iostream);

Expand Down

0 comments on commit 9f24d61

Please sign in to comment.