diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-08-30 18:06:11 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2017-08-30 18:06:11 +0000 |
commit | ffe5ad1155dc407454557005e4d74fc090c28eb6 (patch) | |
tree | ed759d9b45b88aab6b2731cf964fe60d054a9440 /sbin/sysctl | |
parent | 446b827d0ab4bd81bcfc1d284afe138a6c00a628 (diff) |
Refactor interface_status() to call freeifaddrs()
before returning, plugging a memory leak.
Problem reported by Kamil Shakirov via bugs@.
tweaks, testing & ok jca@
Diffstat (limited to 'sbin/sysctl')
0 files changed, 0 insertions, 0 deletions