Skip to content

Commit 22f1513

Browse files
Olga MikhaltsovaRealCLanger
Olga Mikhaltsova
authored andcommittedOct 28, 2021
8273575: memory leak in appendBootClassPath(), paths must be deallocated
Backport-of: 74ffe12267cb3ae63072a06f50083fd0352d8049
1 parent 38bfd62 commit 22f1513

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/java.instrument/share/native/libinstrument/InvocationAdapter.c

+1
Original file line numberDiff line numberDiff line change
@@ -975,4 +975,5 @@ appendBootClassPath( JPLISAgent* agent,
975975
if (haveBasePath && parent != canonicalPath) {
976976
free(parent);
977977
}
978+
free(paths);
978979
}

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Oct 28, 2021

@openjdk-notifier[bot]
Please sign in to comment.