Fixes `NetworkInterface.c::addif` memory leak on early returns. Issue reproduction is difficult – didn't add a test.
------------- Commit messages: - Release earlier allocations after `malloc()` failure Changes: https://git.openjdk.org/jdk/pull/26952/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26952&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8362884 Stats: 14 lines in 1 file changed: 11 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/26952.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/26952/head:pull/26952 PR: https://git.openjdk.org/jdk/pull/26952