changeset 13336:b965edac64ad

8199156: Better route routing Reviewed-by: igerasim, mschoene, michaelm, rhalade
author igerasim
date Wed, 15 Aug 2018 12:12:16 -0700
parents d3a211e0cced
children f1f6a6508eb1
files src/solaris/native/java/net/net_util_md.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/native/java/net/net_util_md.c	Fri Aug 10 13:23:09 2018 +0100
+++ b/src/solaris/native/java/net/net_util_md.c	Wed Aug 15 12:12:16 2018 -0700
@@ -606,6 +606,8 @@
 
                 if (loRoutesTemp == 0) {
                     free(loRoutes);
+                    loRoutes = NULL;
+                    nRoutes = 0;
                     fclose (f);
                     return;
                 }