The original fix id D40702 introduces a memory leak -- a surprising side effect of calling 'getAnalysis<>' method. Calling this has the effect of releasing the memory of current BFI and BPI.
The right way is to get the cached BPI and LI from the current BFI.