From: Sina Tavakoli Date: Wed, 8 Jan 2020 11:13:18 +0000 (+0200) Subject: lib-master: master-login-auth - Fix master_login_auth_request leakage X-Git-Tag: 2.3.10~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8900e65a796ef0a831f93cab7ef74477547ea409;p=thirdparty%2Fdovecot%2Fcore.git lib-master: master-login-auth - Fix master_login_auth_request leakage --- diff --git a/src/lib-master/master-login-auth.c b/src/lib-master/master-login-auth.c index f9177251f6..3fa812e2b6 100644 --- a/src/lib-master/master-login-auth.c +++ b/src/lib-master/master-login-auth.c @@ -554,7 +554,7 @@ master_login_auth_send_request(struct master_login_auth *auth, master_login_auth_request_remove(auth, req); req->callback(NULL, MASTER_AUTH_ERRMSG_INTERNAL_FAILURE, req->context); - i_free(req); + request_free(&req); return; }