RFR: 8205342: windows : potential memleaks in getAdapter(s) in NetworkInterface_winXP.c

Alan Bateman Alan.Bateman at oracle.com
Wed Jun 20 08:45:20 UTC 2018



On 20/06/2018 09:07, Baesken, Matthias wrote:
>
> Hello . Please review this small  fix that  fixes  potential  memory 
> leaks in  getAdapter(s) in NetworkInterface_winXP.c  and simplifies 
> the coding a bit too .
>
> Currently   when generating error messages ,   some memory  is 
> malloc-ed  for the error messages , but not always freed .
>
> Bug:
>
> https://bugs.openjdk.java.net/browse/JDK-8205342
>
> webrev :
>
> http://cr.openjdk.java.net/~mbaesken/webrevs/8205342/ 
> <http://cr.openjdk.java.net/%7Embaesken/webrevs/8205342/>
>
Can you fix the line lengths to make it consistent with original code? 
That will make it easier to look at side-by-side diffs.

-Alan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/net-dev/attachments/20180620/cd6fe7e8/attachment.html>


More information about the net-dev mailing list