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,7 +4149,8 @@ vm_page_fault(addr_t address, addr_t faultAddress, bool isWrite, bool isUser,
|
||||
}
|
||||
}
|
||||
|
||||
vm_put_address_space(addressSpace);
|
||||
if (addressSpace != NULL)
|
||||
vm_put_address_space(addressSpace);
|
||||
|
||||
return B_HANDLED_INTERRUPT;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user