Skip to content

Commit

Permalink
Soot cleanup (#526)
Browse files Browse the repository at this point in the history
* move Soot cleanup to its own function from destructor

* tidy some things up
  • Loading branch information
baperry2 authored Sep 12, 2024
1 parent cdb6683 commit 060a7ae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Source/Soot/SootModel.H
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,12 @@ public:
//
// Destructor
//
~SootModel()
~SootModel() = default;

//
// Deallocate memory
//
void cleanup() // NOLINT(readability-make-member-function-const)
{
delete m_sootData;
delete m_sootReact;
Expand Down

0 comments on commit 060a7ae

Please sign in to comment.