From: Aki Tuomi Date: Fri, 6 Oct 2017 05:46:00 +0000 (+0300) Subject: doveadm: Return after destroying connection X-Git-Tag: 2.2.34~294 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2545977005471867a4cca3ac9db83da97a197c6c;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 49b0e6f478..17fa283ac6 100644 --- a/src/doveadm/server-connection.c +++ b/src/doveadm/server-connection.c @@ -342,6 +342,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; }