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
Reviewed-by: dholmes, amenkov
  • Loading branch information
Serguei Spitsyn committed Sep 15, 2021
1 parent cbffecc commit 74ffe12
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -975,4 +975,5 @@ appendBootClassPath( JPLISAgent* agent,
if (haveBasePath && parent != canonicalPath) {
free(parent);
}
free(paths);
}

1 comment on commit 74ffe12

@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.