From ad3506cfdc5b01a0029fdec0d3f7592135bedafb Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Mon, 25 Jun 2007 08:45:58 +0000 Subject: [PATCH] Fix bug where if checkpoint section is expired about the same time as a checkpoint is deleted, a warning would be displayed. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1398 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/ckpt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exec/ckpt.c b/exec/ckpt.c index 7ecfca9a..d9bf9e7b 100644 --- a/exec/ckpt.c +++ b/exec/ckpt.c @@ -1000,6 +1000,8 @@ void checkpoint_section_release (struct checkpoint_section *section) { log_printf (LOG_LEVEL_DEBUG, "checkpoint_section_release expiration timer = 0x%p\n", section->expiration_timer); list_del (§ion->list); + + openais_timer_delete (section->expiration_timer); if (section->section_descriptor.section_id.id) { free (section->section_descriptor.section_id.id); }