< prev index next >

test/jdk/com/sun/jndi/dns/AttributeTests/GetAny.java

Print this page

        

@@ -74,8 +74,9 @@
             retAttrs = ctx.getAttributes(KEY, new String[] { "IN *" });
             DNSTestUtils.verifySchema(retAttrs, MANDATORY, OPTIONAL);
 
         } finally {
             DNSTestUtils.cleanup(ctx);
+            DNSTestUtils.cleanupClosableRes(socket);
         }
     }
 }
< prev index next >