[NTOS:MM]
[reactos.git] / reactos / ntoskrnl / mm / ARM3 / session.c
index b4fe388..117c40b 100644 (file)
@@ -1053,6 +1053,7 @@ MmGetSessionById(
     while (ListEntry != &MiSessionWsList)
     {
         Session = CONTAINING_RECORD(ListEntry, MM_SESSION_SPACE, WsListEntry);
+        ListEntry = ListEntry->Flink;
 
         /* Check if this is the session we are looking for */
         if (Session->SessionId == SessionId)