Debugger: Fix a memory leak.hrev51716
commit8bb774fc375e2645c85f91c7dd629740e9f76cce
authorRene Gollent <rene@gollent.com>
Thu, 28 Dec 2017 04:49:45 +0000 (27 23:49 -0500)
committerRene Gollent <rene@gollent.com>
Thu, 28 Dec 2017 04:52:13 +0000 (27 23:52 -0500)
tree64bd7557759e31bca9de6ff013e0d80e038f0be3
parent16b34a8fc758f64fd6ad69d3f6b77bc810db35c8
Debugger: Fix a memory leak.

TeamDebugger:
- In several cases, BReferences on thread handlers after a call to
  _GetThreadHandler() weren't correctly initialized to account for
  that function implicitly acquiring a reference on our behalf, leading
  to the reference count to spiral out of control, and consequently the
  handler would never be freed. Found while attempting to address
  #13800, likely more to come.
src/kits/debugger/controllers/TeamDebugger.cpp