Skip to content

Commit

Permalink
Merge branch 'master' into epk/darwin_arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanahsmith committed Oct 28, 2021
2 parents bfcd56f + 3e22137 commit f4c24fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions v8go.cc
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ void CPUProfileNodeDelete(CPUProfileNode* node) {
CPUProfileNodeDelete(node->children[i]);
}

delete[] node->children;
delete node;
}

Expand All @@ -294,6 +295,7 @@ void CPUProfileDelete(CPUProfile* profile) {
return;
}
profile->ptr->Delete();
free((void *)profile->title);

CPUProfileNodeDelete(profile->root);

Expand Down

0 comments on commit f4c24fb

Please sign in to comment.