Kernel: Fix bug in HandleTable::Close

This commit is contained in:
Yuri Kunde Schlesner 2015-01-31 16:12:20 -02:00
parent 5354a479bc
commit e8330dd162

View File

@ -101,7 +101,7 @@ ResultCode HandleTable::Close(Handle handle) {
objects[slot] = nullptr;
generations[generation] = next_free_slot;
generations[slot] = next_free_slot;
next_free_slot = slot;
return RESULT_SUCCESS;
}