1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

event: follow up to r1604347.

Don't leak the timer event when it is cancelled.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1604451 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yann Ylavic
2014-06-21 20:02:23 +00:00
parent b488bf2693
commit 52d5055aef

View File

@@ -1765,6 +1765,10 @@ static void * APR_THREAD_FUNC listener_thread(apr_thread_t * thd, void *dummy)
}
push_timer2worker(ep);
}
else {
APR_RING_INSERT_TAIL(&timer_free_ring, ep, timer_event_t,
link);
}
}
else {
break;