cpg_finalise is called. It can cause the process_info structure to be
removed twice from the group list.
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1884
fd59a12c-fef9-0310-b244-
a6a79926bd2f
notify_info.reason = CONFCHG_CPG_REASON_PROCDOWN;
cpg_node_joinleave_send(gi, pi, MESSAGE_REQ_EXEC_CPG_PROCLEAVE, CONFCHG_CPG_REASON_PROCDOWN);
}
- list_del(&pi->list);
+ if (pi->pid)
+ list_del(&pi->list);
api->ipc_refcnt_dec (conn);
return (0);
}