Skip to content

Commit aae25ad

Browse files
author
Serguei Spitsyn
committed
8273575: memory leak in appendBootClassPath(), paths must be deallocated
Reviewed-by: dholmes, amenkov
1 parent f935c7b commit aae25ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jdk/src/share/instrument/InvocationAdapter.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,4 +854,5 @@ appendBootClassPath( JPLISAgent* agent,
854854
if (haveBasePath && parent != canonicalPath) {
855855
free(parent);
856856
}
857+
free(paths);
857858
}

0 commit comments

Comments
 (0)