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
This commit is contained in:
Steven Dake 2007-06-25 08:45:58 +00:00
parent 7c3dcc065d
commit ad3506cfdc

View File

@ -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 (&section->list);
openais_timer_delete (section->expiration_timer);
if (section->section_descriptor.section_id.id) {
free (section->section_descriptor.section_id.id);
}