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/ Thanks, Matthias