Mercurial > dovecot > core-2.2
comparison src/config/config-connection.c @ 9349:04cade277134 HEAD
Added missing master_service_client_connection_destroyed() calls.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 22 May 2009 17:29:13 -0400 |
parents | 39c2db5f1fcc |
children | d7ccdbb58a03 |
comparison
equal
deleted
inserted
replaced
9348:0c587f108916 | 9349:04cade277134 |
---|---|
3 #include "lib.h" | 3 #include "lib.h" |
4 #include "llist.h" | 4 #include "llist.h" |
5 #include "istream.h" | 5 #include "istream.h" |
6 #include "ostream.h" | 6 #include "ostream.h" |
7 #include "settings-parser.h" | 7 #include "settings-parser.h" |
8 #include "master-service.h" | |
8 #include "config-request.h" | 9 #include "config-request.h" |
9 #include "config-connection.h" | 10 #include "config-connection.h" |
10 | 11 |
11 #include <stdlib.h> | 12 #include <stdlib.h> |
12 #include <unistd.h> | 13 #include <unistd.h> |
155 i_stream_destroy(&conn->input); | 156 i_stream_destroy(&conn->input); |
156 o_stream_destroy(&conn->output); | 157 o_stream_destroy(&conn->output); |
157 if (close(conn->fd) < 0) | 158 if (close(conn->fd) < 0) |
158 i_error("close(config conn) failed: %m"); | 159 i_error("close(config conn) failed: %m"); |
159 i_free(conn); | 160 i_free(conn); |
161 | |
162 master_service_client_connection_destroyed(master_service); | |
160 } | 163 } |
161 | 164 |
162 void config_connections_destroy_all(void) | 165 void config_connections_destroy_all(void) |
163 { | 166 { |
164 while (config_connections != NULL) | 167 while (config_connections != NULL) |