* This should hopefully fix the broken kernel - this code relied on clearing
the next/previous pointers. There might be more, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34875 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5800e8a486
commit
32883e8980
@ -182,6 +182,9 @@ KernelDaemon::_NextDaemon(struct daemon& marker)
|
||||
} else {
|
||||
daemon = marker.GetDoublyLinkedListLink()->next;
|
||||
fDaemons.Remove(&marker);
|
||||
|
||||
marker.GetDoublyLinkedListLink()->next = NULL;
|
||||
marker.GetDoublyLinkedListLink()->previous = NULL;
|
||||
}
|
||||
|
||||
if (daemon != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user