[dovecot-cvs] dovecot/src/auth auth-request-handler.c, 1.12, 1.12.2.1

cras at dovecot.org cras at dovecot.org
Sat Jun 17 18:14:16 EEST 2006


Update of /var/lib/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv30421

Modified Files:
      Tag: branch_1_0
	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.12.2.1
diff -u -d -r1.12 -r1.12.2.1
--- auth-request-handler.c	28 Jan 2006 21:09:43 -0000	1.12
+++ auth-request-handler.c	17 Jun 2006 15:14:14 -0000	1.12.2.1
@@ -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