RFR: 8362884: [GCC static analyzer] unix NetworkInterface.c addif leak on early returns

Volkan Yazici vyazici at openjdk.org
Thu Aug 28 09:56:43 UTC 2025


On Wed, 27 Aug 2025 07:29:11 GMT, Volkan Yazici <vyazici at openjdk.org> wrote:

> Fixes `NetworkInterface.c::addif` memory leak on early returns. Issue reproduction is difficult – didn't add a test.

@MBaesken, would you mind checking if this PR fixes the `-fanalyzer` warning against `NetworkInterface.c::addif`, please?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26952#issuecomment-3232800653


More information about the net-dev mailing list