diff --git a/src/solaris/native/java/net/net_util_md.c b/src/solaris/native/java/net/net_util_md.c index 7436d5214b93f94551f3f7238d12d5d3378d820f..4d05c4935f58484ce8d1f1a13ac27f1006ff5748 100644 --- a/src/solaris/native/java/net/net_util_md.c +++ b/src/solaris/native/java/net/net_util_md.c @@ -606,6 +606,8 @@ static void initLoopbackRoutes() { if (loRoutesTemp == 0) { free(loRoutes); + loRoutes = NULL; + nRoutes = 0; fclose (f); return; }