Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9334:0d0a801a4d1e HEAD
auth: Don't leak memory with buggy auth-master clients.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 17 Aug 2009 12:29:09 -0400 |
parents | 15b4b2c904fe |
children | a366666f4b50 |
files | src/auth/auth-master-connection.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/auth-master-connection.c Mon Aug 17 11:42:33 2009 -0400 +++ b/src/auth/auth-master-connection.c Mon Aug 17 12:29:09 2009 -0400 @@ -153,6 +153,7 @@ if (auth_request->service == NULL) { i_error("BUG: Master sent USER request without service"); + auth_master_connection_unref(&conn); auth_request_unref(&auth_request); return FALSE; }