kernel/debug: Minor style fix in the system_profiler.

This commit is contained in:
Augustin Cavalier
2024-12-11 14:17:28 -05:00
parent 12be2aa0b3
commit 7aafc79ba4
+1 -1
View File
@@ -1227,7 +1227,7 @@ SystemProfiler::_WaitObjectCreated(addr_t object, uint32 type)
// If found, remove it and add it to the free list. This might sound weird,
// but it makes sense, since we lazily track *used* wait objects only.
// I.e. the object in the table is now guaranteedly obsolete.
if (waitObject) {
if (waitObject != NULL) {
fWaitObjectTable.RemoveUnchecked(waitObject);
fUsedWaitObjects.Remove(waitObject);
fFreeWaitObjects.Add(waitObject, false);