Debugger: More memory management fixes.hrev51724
commitb1ab02c43433de0fd1e2a47415aca7647b106aef
authorRene Gollent <rene@gollent.com>
Sun, 31 Dec 2017 22:48:28 +0000 (31 17:48 -0500)
committerRene Gollent <rene@gollent.com>
Sun, 31 Dec 2017 22:52:59 +0000 (31 17:52 -0500)
tree03f9afb353fdbeb90e7258fe977537cbc344fbfa
parent8a9e1e0d4a586732b5008d8a5888e14aa815b893
Debugger: More memory management fixes.

DwarfImageDebugInfo:
- Type name/info entries weren't being freed properly.

BaseUnit:
- The array of entries itself was being destroyed, but not the actual
  objects. Consequently none of the DIE objects were ever being freed.

CfaRuleSet:
- The register rules array wasn't being freed.

FileManager:
- References to entries weren't being released. Some more work remains to be
  done here though, as a subset of these objects still have a non-zero ref
  count in the end.
src/kits/debugger/debug_info/DwarfImageDebugInfo.cpp
src/kits/debugger/dwarf/BaseUnit.cpp
src/kits/debugger/dwarf/CfaRuleSet.cpp
src/kits/debugger/dwarf/CfaRuleSet.h
src/kits/debugger/files/FileManager.cpp