diff options
author | Jeff Trawick <trawick@apache.org> | 2009-03-05 01:44:27 +0000 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2009-03-05 01:44:27 +0000 |
commit | ffb9bdf7447583b4c8f0dd9299f97c1520ce011b (patch) | |
tree | 22524205ae000a80be38064926c5341060d4b5e8 /poll | |
parent | 58e5235f3a336affb1cb742d8d5124371fb7ab1f (diff) | |
download | apr-ffb9bdf7447583b4c8f0dd9299f97c1520ce011b.tar.gz |
don't lose track of a ring element when port_associate() fails
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@750279 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poll')
-rw-r--r-- | poll/unix/port.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/poll/unix/port.c b/poll/unix/port.c index d7cf5f602..eef09828b 100644 --- a/poll/unix/port.c +++ b/poll/unix/port.c @@ -315,6 +315,7 @@ static apr_status_t impl_pollset_poll(apr_pollset_t *pollset, fd, get_event(ep->pfd.reqevents), ep); if (ret < 0) { rv = apr_get_netos_error(); + APR_RING_INSERT_TAIL(&(pollset->p->free_ring), ep, pfd_elem_t, link); break; } |