# HG changeset patch # User Timo Sirainen # Date 1250526549 14400 # Node ID 0d0a801a4d1ef04711638a10260598496808bdc9 # Parent 15b4b2c904fefe98660ba66f3dafc16fc275317a auth: Don't leak memory with buggy auth-master clients. diff -r 15b4b2c904fe -r 0d0a801a4d1e src/auth/auth-master-connection.c --- 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; }