Set fTranslationMap to NULL in the constructor. Otherwise an error in
Create() could cause the destructor to crash. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36329 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -88,6 +88,7 @@ VMAddressSpace::VMAddressSpace(team_id id, addr_t base, size_t size,
|
||||
fRefCount(1),
|
||||
fFaultCount(0),
|
||||
fChangeCount(0),
|
||||
fTranslationMap(NULL),
|
||||
fDeleting(false)
|
||||
{
|
||||
rw_lock_init(&fLock, name);
|
||||
|
||||
Reference in New Issue
Block a user