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: 45e4e30909e316e53e8cded176ffe3f47302f3aa
  • Loading branch information
GoeLin committed Dec 15, 2021
1 parent ba1a0e8 commit c94151b
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -982,4 +982,5 @@ appendBootClassPath( JPLISAgent* agent,
if (haveBasePath && parent != canonicalPath) {
free(parent);
}
free(paths);
}

1 comment on commit c94151b

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