HomeClusterLabs Projects

totempg: Fix memory leak

Description

totempg: Fix memory leak

Previously there were two free lists. One for operational and one for
transitional state. Because every node starts in transitional state and
always ends in the operational state, assembly was always put to normal
state free list and never in transitional free list, so new assembly
structure was always allocated after new node connected.

Solution is to have only one free list.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Steven Dake <stdake@cisco.com>

Details

Provenance
jfriesseAuthored on Feb 10 2016, 6:36 AM
Parents
rC028c47388675: Fix spelling error in binary corosync
Branches
Unknown
Tags
Unknown

Event Timeline