Use BReferenceable properties of LinearSpec in BALMLayout.
This saves us from a potential use-afte-free bug.
This commit is contained in:
@@ -170,7 +170,6 @@ private:
|
||||
bool _TrySolve();
|
||||
|
||||
LinearProgramming::LinearSpec* fSolver;
|
||||
LinearProgramming::LinearSpec fOwnSolver;
|
||||
|
||||
BReference<XTab> fLeft;
|
||||
BReference<XTab> fRight;
|
||||
|
||||
Reference in New Issue
Block a user