Fix uninitialized fAllocator member. In the error case the destructor could
crash trying to delete the not created allocator. CID 9562. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39905 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -21,6 +21,7 @@ Stack::Stack()
|
||||
: fExploreThread(-1),
|
||||
fFirstExploreDone(false),
|
||||
fStopThreads(false),
|
||||
fAllocator(NULL),
|
||||
fObjectIndex(1),
|
||||
fObjectMaxCount(1024),
|
||||
fObjectArray(NULL),
|
||||
|
||||
Reference in New Issue
Block a user