From: Aki Tuomi Date: Fri, 6 Oct 2017 05:46:00 +0000 (+0300) Subject: doveadm: Return after destroying connection X-Git-Tag: 2.3.0.rc1~857 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f85250d819357094d456fbdde390ade0fcabe0b7;p=thirdparty%2Fdovecot%2Fcore.git doveadm: Return after destroying connection Prevents NULL deferences, found by coverity. --- diff --git a/src/doveadm/server-connection.c b/src/doveadm/server-connection.c index c30ad3a75f..8776b39ab5 100644 --- a/src/doveadm/server-connection.c +++ b/src/doveadm/server-connection.c @@ -353,6 +353,7 @@ static void server_connection_input(struct server_connection *conn) i_error("doveadm server not compatible with this client" "(mixed old and new binaries?)"); server_connection_destroy(&conn); + return; } continue; }