From: Timo Sirainen Date: Fri, 28 May 2010 10:22:04 +0000 (+0100) Subject: master: Make sure throttle timeout isn't added for already destroyed services. X-Git-Tag: 2.0.beta6~125 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce39762f20b04cf44de87a9ee683c65bb46006cb;p=thirdparty%2Fdovecot%2Fcore.git master: Make sure throttle timeout isn't added for already destroyed services. --HG-- branch : HEAD --- diff --git a/src/master/service.c b/src/master/service.c index bf668da292..d6555b5fe9 100644 --- a/src/master/service.c +++ b/src/master/service.c @@ -632,7 +632,7 @@ static void service_drop_listener_connections(struct service *service) void service_throttle(struct service *service, unsigned int secs) { - if (service->to_throttle != NULL) + if (service->to_throttle != NULL || service->list->destroyed) return; if (service->processes == NULL)