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:
Michael Lotz
2010-12-20 23:32:39 +00:00
parent 0153c18eed
commit 1579900f55
@@ -21,6 +21,7 @@ Stack::Stack()
: fExploreThread(-1),
fFirstExploreDone(false),
fStopThreads(false),
fAllocator(NULL),
fObjectIndex(1),
fObjectMaxCount(1024),
fObjectArray(NULL),