Mercurial > dovecot > core-2.2
changeset 22595:a3632f4d817f
doveadm: Return after destroying connection
Prevents NULL deferences, found by coverity.
author | Aki Tuomi <aki.tuomi@dovecot.fi> |
---|---|
date | Fri, 06 Oct 2017 08:46:00 +0300 |
parents | ec7c7ceca87b |
children | 1a7bbda6284b |
files | src/doveadm/server-connection.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doveadm/server-connection.c Thu Aug 17 14:17:46 2017 +0300 +++ b/src/doveadm/server-connection.c Fri Oct 06 08:46:00 2017 +0300 @@ -342,6 +342,7 @@ i_error("doveadm server not compatible with this client" "(mixed old and new binaries?)"); server_connection_destroy(&conn); + return; } continue; }