- Don't use a pointer to SINGLE_LIST_ENTRY as parameter for InterlockedPushEntrySList. It's not the same as SLIST_ENTRY!

svn path=/branches/ros-amd64-bringup/; revision=44293
This commit is contained in:
Timo Kreuzer
2009-11-27 17:06:54 +00:00
parent ba13b6786a
commit 644d3aee30
+2 -2
View File
@@ -358,14 +358,14 @@ ObpFreeCapturedAttributes(IN PVOID Buffer,
{
/* The free was within the Depth */
InterlockedPushEntrySList(&List->L.ListHead,
(PSINGLE_LIST_ENTRY)Buffer);
(PSLIST_ENTRY)Buffer);
}
}
else
{
/* The free was within the Depth */
InterlockedPushEntrySList(&List->L.ListHead,
(PSINGLE_LIST_ENTRY)Buffer);
(PSLIST_ENTRY)Buffer);
}
}