summaryrefslogtreecommitdiff
path: root/libs/utils/RefBase.cpp
diff options
context:
space:
mode:
author Jim Miller <jaggies@google.com> 2011-02-14 16:18:49 -0800
committer Jim Miller <jaggies@google.com> 2011-02-14 16:18:49 -0800
commit79628c6662b863c220ff68159e4272f45d66cbe8 (patch)
tree44d925493319807865e335dfc157db3de330c179 /libs/utils/RefBase.cpp
parentb44cb0ba973126debfac53ce17cc93ec6d9feaea (diff)
Fix 3409550: Fix crash caused when max pattern attempts met.
This fixes a bug introduced by a recent change in GB that fixed a memory leak and subsequent OOM crash. The code in cleanUp() is now more aggressive about releasing unused references because the view is expected to go away afterwards. However, due to the immediate callback from reportFailedUnlockAttempt(), the member variables are cleared before we reach the end of the handler. The fix is to postpone reporting the failed attempt until after the rest of the logic has completed. Change-Id: Ic35eaf17e9921213c8793d00f9008d957a290b88
Diffstat (limited to 'libs/utils/RefBase.cpp')
0 files changed, 0 insertions, 0 deletions