On Wed, 27 Jan 2021 12:16:47 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:

>> Yes, I think that is better: `realloc` can fail as well, and we don't want 
>> to leak those?
>
> Please also reset the free'd pointers to NULL in GPData* before returning.

Hello  Thomas and Aleksey, I moved the free calls and added the NULL settings. 
Are you fine with the latest commit?
Thanks, Matthias

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

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

Reply via email to