summaryrefslogtreecommitdiff
path: root/qpid/extras/dispatch/src
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2013-04-29 19:48:59 +0000
committerTed Ross <tross@apache.org>2013-04-29 19:48:59 +0000
commit170134a81e51549f2e22c0d96303e5ab8be6fec9 (patch)
tree7f709bb09913cc9010d1a25613d80027bda853b8 /qpid/extras/dispatch/src
parent80abf8f30a3e135f40417813a4c79a9cb67a0bf3 (diff)
downloadqpid-python-170134a81e51549f2e22c0d96303e5ab8be6fec9.tar.gz
QPID-4788 - Fixed linked-list corruption when an immediate timer is re-scheduled. Added test.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1477300 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/extras/dispatch/src')
-rw-r--r--qpid/extras/dispatch/src/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qpid/extras/dispatch/src/timer.c b/qpid/extras/dispatch/src/timer.c
index cb957e8400..0d5b301a6e 100644
--- a/qpid/extras/dispatch/src/timer.c
+++ b/qpid/extras/dispatch/src/timer.c
@@ -57,6 +57,7 @@ static void dx_timer_cancel_LH(dx_timer_t *timer)
case TIMER_PENDING:
dx_server_timer_cancel_LH(timer);
+ DEQ_INSERT_TAIL(idle_timers, timer);
break;
}