8273575: memory leak in appendBootClassPath(), paths must be deallocated

Reviewed-by: dholmes, amenkov
This commit is contained in:
Serguei Spitsyn 2021-09-15 20:00:21 +00:00
parent cbffecc61e
commit 74ffe12267

View File

@ -975,4 +975,5 @@ appendBootClassPath( JPLISAgent* agent,
if (haveBasePath && parent != canonicalPath) {
free(parent);
}
free(paths);
}