[dovecot-cvs] dovecot/src/auth auth-request-handler.c,1.12,1.13
cras at dovecot.org
cras at dovecot.org
Sat Jun 17 18:14:19 EEST 2006
Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv27498
Modified Files:
auth-request-handler.c
Log Message:
Fixed memory leak in error handling.
Index: auth-request-handler.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/auth/auth-request-handler.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- auth-request-handler.c 28 Jan 2006 21:09:43 -0000 1.12
+++ auth-request-handler.c 17 Jun 2006 15:14:15 -0000 1.13
@@ -433,6 +433,7 @@
"%u.%u", handler->client_pid, client_id);
str_printfa(reply, "NOTFOUND\t%u", id);
handler->master_callback(str_c(reply), master);
+ auth_request_unref(&request);
} else {
/* the request isn't being referenced anywhere anymore,
so we can do a bit of kludging.. replace the request's
More information about the dovecot-cvs
mailing list