vm_page_fault(): Only put the address space, if we actually got one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26774 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1a617f516a
commit
39ec9b48bd
@ -4149,6 +4149,7 @@ vm_page_fault(addr_t address, addr_t faultAddress, bool isWrite, bool isUser,
|
||||
}
|
||||
}
|
||||
|
||||
if (addressSpace != NULL)
|
||||
vm_put_address_space(addressSpace);
|
||||
|
||||
return B_HANDLED_INTERRUPT;
|
||||
|
Loading…
Reference in New Issue
Block a user