mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-26 13:14:16 +00:00
Remove a double list_del() when a tracking CFG client shuts down without
calling cfg_track_stop. This caused corosync to crash. The extra list_empty() check is redundant too because it also happens in remove_ci_from_shutdown() git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2655 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
a1bf354ed4
commit
a22f051d04
@ -547,10 +547,7 @@ int cfg_lib_exit_fn (void *conn)
|
||||
struct cfg_info *ci = (struct cfg_info *)api->ipc_private_data_get (conn);
|
||||
|
||||
ENTER();
|
||||
if (!list_empty(&ci->list)) {
|
||||
list_del(&ci->list);
|
||||
remove_ci_from_shutdown(ci);
|
||||
}
|
||||
remove_ci_from_shutdown(ci);
|
||||
LEAVE();
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user