Fix cleanup of object table (double NtClose crash).
This commit is contained in:
parent
9c2cf49755
commit
8dcfe94d81
|
@ -138,6 +138,7 @@ X_STATUS ObjectTable::RemoveHandle(X_HANDLE handle) {
|
||||||
} else {
|
} else {
|
||||||
result = X_STATUS_INVALID_HANDLE;
|
result = X_STATUS_INVALID_HANDLE;
|
||||||
}
|
}
|
||||||
|
entry.object = nullptr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue