Skip to content

Commit

Permalink
8273575: memory leak in appendBootClassPath(), paths must be deallocated
Browse files Browse the repository at this point in the history
Backport-of: 74ffe12267cb3ae63072a06f50083fd0352d8049
  • Loading branch information
Olga Mikhaltsova authored and RealCLanger committed Oct 28, 2021
1 parent 38bfd62 commit 22f1513
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -975,4 +975,5 @@ appendBootClassPath( JPLISAgent* agent,
if (haveBasePath && parent != canonicalPath) {
free(parent);
}
free(paths);
}

1 comment on commit 22f1513

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.