-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up memoryTracker usage in binaryEdit (#877)
* Store memoryTracker_ as a value instead of pointer This provides cleaner semantics for its usage and ensures that the it's default-constructed correctly. * Code cleanup * Give codeRange a virtual destructor This will ensure that memoryTracker objects removed from a codeTree will correctly get destroyed. * Simplify inferiorFree * Free any remaining memoryTrackers on destruction
- Loading branch information
Showing
3 changed files
with
27 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters