On Wed, 15 Sep 2021 01:05:10 GMT, Serguei Spitsyn <sspit...@openjdk.org> wrote:

> The memory allocated and hold in the paths local variable of function 
> appendBootClassPath() is never deallocated:
>     splitPathList(pathList, &count, &paths);
> So, it is a memory leak which needs to be fixed.
> The fix is to add one line at the end of function: 
>     free(paths);

Changes looks good to me.

-------------

PR: https://git.openjdk.java.net/jdk/pull/5516

Reply via email to