* 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:
Axel Dörfler 2010-01-03 18:24:27 +00:00
parent 5800e8a486
commit 32883e8980

View File

@ -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)